diff options
author | Philip Taron <philip.taron@gmail.com> | 2024-06-17 09:39:16 -0700 |
---|---|---|
committer | Philip Taron <philip.taron@gmail.com> | 2024-06-17 09:39:16 -0700 |
commit | 81c06bc6094a3a637c90e1ad57616caf2f137a07 (patch) | |
tree | 97b39a3bf68eee747fdc9bb9ebffcc197f046474 /pkgs/test | |
parent | f98bb93e80b18eb7cc16c7fd2c3142ea989f1937 (diff) |
tests.haskell.cabalSdist.localFromCabalSdist: prevent unnecessary rebuilds
Diffstat (limited to 'pkgs/test')
-rw-r--r-- | pkgs/test/haskell/cabalSdist/local/generated.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/test/haskell/cabalSdist/local/generated.nix b/pkgs/test/haskell/cabalSdist/local/generated.nix index bfa299962bcb4..f6463e762dddc 100644 --- a/pkgs/test/haskell/cabalSdist/local/generated.nix +++ b/pkgs/test/haskell/cabalSdist/local/generated.nix @@ -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 ]; |