about summary refs log tree commit diff
path: root/pkgs/build-support/fetchsvnssh
AgeCommit message (Collapse)AuthorFilesLines
2023-10-04treewide: refactor `.attrs.sh` detectionMaximilian Bosch1-1/+1
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`.
2023-07-20fetchsvnssh: clean up md5 referencesTheodore Ni1-4/+1
2023-01-16treewide: remove usages of header and stopNestArtturin1-3/+1
they're obsolete
2022-12-08treewide: source .attrs in buildersArtturin1-0/+1
if theres a source $stdenv then this is needed for structuredAttrs
2019-02-03fetchsvnssh: move defaults to package fileJan Malakhovski1-1/+1
2018-01-10treewide: Fetchers should use `stdenvNoCC`.John Ericson1-2/+2
2018-01-09treewide: Fixed output fetch* derivations should use `nativeBuildInputs`John Ericson1-1/+1
2017-03-20fetch-*: remove md5 supportRobin Gloster1-4/+8
fixes #4491
2016-11-30Remove fetchMD5warnEelco Dolstra1-2/+1
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.
2016-10-09fetch*: print a trace warning about md5 deprecationMichael Raskin1-1/+2
2008-07-06undoSander van der Burg1-2/+2
svn path=/nixpkgs/trunk/; revision=12278
2008-07-06Added disnixSander van der Burg1-2/+2
svn path=/nixpkgs/trunk/; revision=12276
2008-04-02Added hacky fetchsvn component which allows users to fetch code over svn+sshSander van der Burg3-0/+53
svn path=/nixpkgs/trunk/; revision=11455