diff options
author | Moritz Ulrich <moritz@tarn-vedra.de> | 2014-10-09 22:01:21 +0200 |
---|---|---|
committer | Moritz Ulrich <moritz@tarn-vedra.de> | 2014-10-13 23:29:27 +0200 |
commit | 6157cc0c293d5e03bf4c8423cbda9b6f9bd081dc (patch) | |
tree | 654823db352a68597d1adf6c15c82fad7c987573 | |
parent | 172e55c7fcbf3de9fa6799ce520dc5b7b0a08ede (diff) | |
download | nixlib-6157cc0c293d5e03bf4c8423cbda9b6f9bd081dc.tar nixlib-6157cc0c293d5e03bf4c8423cbda9b6f9bd081dc.tar.gz nixlib-6157cc0c293d5e03bf4c8423cbda9b6f9bd081dc.tar.bz2 nixlib-6157cc0c293d5e03bf4c8423cbda9b6f9bd081dc.tar.lz nixlib-6157cc0c293d5e03bf4c8423cbda9b6f9bd081dc.tar.xz nixlib-6157cc0c293d5e03bf4c8423cbda9b6f9bd081dc.tar.zst nixlib-6157cc0c293d5e03bf4c8423cbda9b6f9bd081dc.zip |
rename patches -> overrides
-rw-r--r-- | pkgs/development/compilers/chicken/eggDerivation.nix | 8 | ||||
-rw-r--r-- | pkgs/development/compilers/chicken/overrides.nix (renamed from pkgs/development/compilers/chicken/patches.nix) | 0 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/compilers/chicken/eggDerivation.nix b/pkgs/development/compilers/chicken/eggDerivation.nix index 9a7c56da11a0..b3c96171478d 100644 --- a/pkgs/development/compilers/chicken/eggDerivation.nix +++ b/pkgs/development/compilers/chicken/eggDerivation.nix @@ -7,12 +7,12 @@ let libPath = "${chicken}/var/lib/chicken/${toString chicken.binaryVersion}/"; - patches = import ./patches.nix; + overrides = import ./overrides.nix; lib = stdenv.lib; baseName = (builtins.parseDrvName name).name; - patch = if builtins.hasAttr baseName patches + override = if builtins.hasAttr baseName overrides then - builtins.getAttr baseName patches + builtins.getAttr baseName overrides else {}; in @@ -45,4 +45,4 @@ stdenv.mkDerivation ({ --prefix PATH : "$out/bin:$CHICKEN_REPOSITORY_EXTRA:$CHICKEN_REPOSITORY" done ''; -} // (builtins.removeAttrs args ["name" "buildInputs"]) // patch) +} // (builtins.removeAttrs args ["name" "buildInputs"]) // override) diff --git a/pkgs/development/compilers/chicken/patches.nix b/pkgs/development/compilers/chicken/overrides.nix index 9fdda9b6d9fe..9fdda9b6d9fe 100644 --- a/pkgs/development/compilers/chicken/patches.nix +++ b/pkgs/development/compilers/chicken/overrides.nix |