tests.haskell.cabalSdist.localFromCabalSdist: prevent unnecessary rebuilds

This commit is contained in:
Philip Taron 2024-06-17 09:39:16 -07:00
parent f98bb93e80
commit 81c06bc609
No known key found for this signature in database

View File

@ -3,7 +3,14 @@
mkDerivation {
pname = "local";
version = "0.1.0.0";
src = ./.;
src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./app
./CHANGELOG.md
./local.cabal
];
};
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [ base ];