diff options
Diffstat (limited to 'Biz/Bild')
-rw-r--r-- | Biz/Bild/Overlay.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Biz/Bild/Overlay.nix b/Biz/Bild/Overlay.nix index 2fecae1..dc52eab 100644 --- a/Biz/Bild/Overlay.nix +++ b/Biz/Bild/Overlay.nix @@ -17,10 +17,10 @@ in rec # Modifies a derivation with our source and version, keeping old build # rules. This will fail if build steps have changed, or if no build # rules are available upstream.. - overrideSource = name: pkgs.${name}.overrideAttrs (old: old // rec { - name = "${name}-${version}"; - version = pkgs.sources.${name}.version or pkgs.sources.${name}.rev; - src = pkgs.sources.${name}; + overrideSource = depName: pkgs.${depName}.overrideAttrs (old: old // rec { + name = "${depName}-${version}"; + version = pkgs.sources.${depName}.version or pkgs.sources.${depName}.rev; + src = pkgs.sources.${depName}; }); haskell = pkgs.haskell // { |