r-generic-builder: don't let derivation override the naming scheme

This commit is contained in:
Peter Simons 2014-05-05 00:32:45 +02:00
parent 66bcd77f0e
commit f31f57c32d

View File

@ -3,8 +3,6 @@ R:
{ name, buildInputs ? [], ... } @ attrs:
R.stdenv.mkDerivation ({
name = "r-" + name;
buildInputs = buildInputs ++ [R];
configurePhase = ''
@ -30,4 +28,6 @@ R.stdenv.mkDerivation ({
ln -s $out/nix-support/propagated-native-build-inputs $out/nix-support/propagated-user-env-packages
fi
'';
} // attrs)
} // attrs // {
name = "r-" + name;
})