stutter: move overrides into configuration-nix.nix
Move necessary overrides into configuration-nix.nix, so there's no discrepancy between stutter and haskellPackages.stutter. However the build of stutter is still broken its dependency snipcheck doesn't build with the pandoc version we have.
This commit is contained in:
@@ -841,4 +841,11 @@ self: super: builtins.intersectAttrs super {
|
||||
export GHC_PACKAGE_PATH=$PWD/dist/package.conf.inplace/:$GHC_PACKAGE_PATH
|
||||
'';
|
||||
});
|
||||
|
||||
# tests need to execute the built executable
|
||||
stutter = overrideCabal super.stutter (drv: {
|
||||
preCheck = ''
|
||||
export PATH=dist/build/stutter:$PATH
|
||||
'' + (drv.preCheck or "");
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user