summaryrefslogtreecommitdiff
path: root/pkgs/build-support/fetchsvnssh (follow)
Commit message (Expand)AuthorAgeFilesLines
* treewide: load structured attributes in all bash builders consistently•••It's hard to put the sourcing of ./.attrs.sh into all builder consistently - mistakes will happen. Thus, load structured attrs once in make-derivation and then source the remaining builder on top. This should fix quite a few builders with structured attributes in principle. Most importantly it helps substitute / substituteAll, which are required for bootstrap on some platforms. Wolfgang Walther2024-12-291-3/+0
* treewide: format all inactive Nix files•••After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \ --argstr baseRev 57b193d8ddeaf4f5219d2bae1d23b081e4906e57 result/bin/apply-formatting $NIXPKGS_PATH Silvan Mosberger2024-12-101-6/+28
* fetchsvnssh: support `hash` attributenicoo2024-09-171-13/+15
* treewide: refactor `.attrs.sh` detection•••When specifying the `builder` attribute in `stdenv.mkDerivation`, this will be effectively transformed into builtins.derivation { builder = stdenv.shell; args = [ "-e" builder ]; } This also means that `default-builder.sh` is never sourced and as a result it's not guaranteed that `$NIX_ATTRS_SH_FILE` is set to a correct location[1]. Also, we need to source `.attrs.sh` to source `$stdenv`. So, the following is done now: * If `$NIX_ATTRS_SH_FILE` points to a correct location, then use it. Directly using `.attrs.sh` is problematic for `nix-shell(1)` usage (see previous commit for more context), so prefer the environment variable if possible. * Otherwise, if `.attrs.sh` exists, then use it. See [1] for when this can happen. * If neither applies, it can be assumed that `__structuredAttrs` is turned off and thus nothing needs to be done. [1] It's possible that it doesn't exist at all - in case of Nix 2.3 or it can point to a wrong location on older Nix versions with a bug in `__structuredAttrs`. Maximilian Bosch2023-10-041-1/+1
* fetchsvnssh: clean up md5 referencesTheodore Ni2023-07-201-4/+1
* treewide: remove usages of header and stopNest•••they're obsolete Artturin2023-01-161-3/+1
* treewide: source .attrs in builders•••if theres a source $stdenv then this is needed for structuredAttrs Artturin2022-12-081-0/+1
* fetchsvnssh: move defaults to package fileJan Malakhovski2019-02-031-1/+1
* treewide: Fetchers should use `stdenvNoCC`.John Ericson2018-01-101-2/+2
* treewide: Fixed output fetch* derivations should use `nativeBuildInputs`John Ericson2018-01-091-1/+1
* fetch-*: remove md5 support•••fixes #4491 Robin Gloster2017-03-201-4/+8
* Remove fetchMD5warn•••Deprecation warnings should not be used in Nixpkgs because they spam innocent "nix-env -qa" users with (in this case) dozens of messages that they can't do anything about. This also reverts commit 2ca883338389b7ab995924a0cab0211993bdf1da. Eelco Dolstra2016-11-301-2/+1
* fetch*: print a trace warning about md5 deprecationMichael Raskin2016-10-091-1/+2
* undo•••svn path=/nixpkgs/trunk/; revision=12278 Sander van der Burg2008-07-061-2/+2
* Added disnix•••svn path=/nixpkgs/trunk/; revision=12276 Sander van der Burg2008-07-061-2/+2
* Added hacky fetchsvn component which allows users to fetch code over svn+ssh•••svn path=/nixpkgs/trunk/; revision=11455 Sander van der Burg2008-04-023-0/+53