diff --git a/pkgs/development/compilers/chicken/5/eggDerivation.nix b/pkgs/development/compilers/chicken/5/eggDerivation.nix index 3dc1c4afce98..8d4a62776d0e 100644 --- a/pkgs/development/compilers/chicken/5/eggDerivation.nix +++ b/pkgs/development/compilers/chicken/5/eggDerivation.nix @@ -7,7 +7,7 @@ let overrides = import ./overrides.nix; - baseName = (builtins.parseDrvName name).name; + baseName = stdenv.lib.getName name; override = if builtins.hasAttr baseName overrides then builtins.getAttr baseName overrides