forked from mirrors/nixpkgs
bundlerApp: avoid unecessary rebuilds when gemdir changes
Because the gemdir was referenced on the derivation, it would cause the whole gemdir to get added to the store, which would in turn force the derivation to be rebuilt whenever unrelated folder files would change.
This commit is contained in:
parent
1987bddea8
commit
cef857e8b7
|
@ -36,7 +36,7 @@
|
|||
let
|
||||
basicEnv = (callPackage ../bundled-common {}) args;
|
||||
|
||||
cmdArgs = removeAttrs args [ "pname" "postBuild" "gemConfig" "passthru" "gemset" ] // {
|
||||
cmdArgs = removeAttrs args [ "pname" "postBuild" "gemConfig" "passthru" "gemset" "gemdir" ] // {
|
||||
inherit preferLocalBuild allowSubstitutes; # pass the defaults
|
||||
|
||||
buildInputs = buildInputs ++ lib.optional (scripts != []) makeWrapper;
|
||||
|
|
Loading…
Reference in a new issue