haskell.lib.compose.triggerRebuild: don't discard old postUnpack
This commit is contained in:
@@ -354,7 +354,12 @@ rec {
|
||||
/* Add a dummy command to trigger a build despite an equivalent
|
||||
earlier build that is present in the store or cache.
|
||||
*/
|
||||
triggerRebuild = i: overrideCabal (drv: { postUnpack = ": trigger rebuild ${toString i}"; });
|
||||
triggerRebuild = i: overrideCabal (drv: {
|
||||
postUnpack = drv.postUnpack or "" + ''
|
||||
|
||||
# trigger rebuild ${toString i}
|
||||
'';
|
||||
});
|
||||
|
||||
/* Override the sources for the package and optionally the version.
|
||||
This also takes of removing editedCabalFile.
|
||||
|
||||
Reference in New Issue
Block a user