Ruby gems: Install all dependent gems in the user environment
svn path=/nixpkgs/trunk/; revision=32370
This commit is contained in:
parent
2fb0d1c6c7
commit
86710c1fe6
@ -40,6 +40,15 @@ let
|
|||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
propagatedUserEnvPkgs = requiredGems;
|
||||||
|
postFixup = ''
|
||||||
|
if [ -n "$propagatedUserEnvPkgs" ]; then
|
||||||
|
mkdir -p "$out/nix-support"
|
||||||
|
echo "$propagatedUserEnvPkgs" > "$out/nix-support/propagated-user-env-packages"
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
mb = stdenv.lib.maybeAttr;
|
mb = stdenv.lib.maybeAttr;
|
||||||
patchedGem = a: stdenv.mkDerivation (removeAttrs (stdenv.lib.mergeAttrsByFuncDefaults
|
patchedGem = a: stdenv.mkDerivation (removeAttrs (stdenv.lib.mergeAttrsByFuncDefaults
|
||||||
|
Loading…
x
Reference in New Issue
Block a user