mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
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
|
||||
'';
|
||||
|
||||
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;
|
||||
patchedGem = a: stdenv.mkDerivation (removeAttrs (stdenv.lib.mergeAttrsByFuncDefaults
|
||||
|
Loading…
Reference in New Issue
Block a user