haskell-lib: Add overrideSrc helper
This commit is contained in:
parent
b4820d4948
commit
a6c39ed207
|
@ -104,4 +104,7 @@ rec {
|
|||
|
||||
triggerRebuild = drv: i: overrideCabal drv (drv: { postUnpack = ": trigger rebuild ${toString i}"; });
|
||||
|
||||
overrideSrc = drv: { src, version ? drv.version }:
|
||||
overrideCabal drv (_: { inherit src version; editedCabalFile = null; });
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue