diff options
author | Philip Taron <philip.taron@gmail.com> | 2024-06-17 09:43:20 -0700 |
---|---|---|
committer | Philip Taron <philip.taron@gmail.com> | 2024-06-17 09:49:33 -0700 |
commit | 53f06894e108431799cf23b0069e98f4aeba8d0c (patch) | |
tree | f761f06d587df78632602d5abb82d2f201386c2e | |
parent | 81c06bc6094a3a637c90e1ad57616caf2f137a07 (diff) |
tests.haskell.setBuildTarget: prevent unnecessary rebuilds
-rw-r--r-- | pkgs/test/haskell/setBuildTarget/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/test/haskell/setBuildTarget/default.nix b/pkgs/test/haskell/setBuildTarget/default.nix index f0c78c5104499..39d5db698bcd0 100644 --- a/pkgs/test/haskell/setBuildTarget/default.nix +++ b/pkgs/test/haskell/setBuildTarget/default.nix @@ -7,7 +7,15 @@ let mkDerivation { pname = "haskell-setBuildTarget"; version = "0.1.0.0"; - src = ./.; + src = lib.fileset.toSource { + root = ./.; + fileset = lib.fileset.unions [ + ./haskell-setBuildTarget.cabal + ./Bar.hs + ./Foo.hs + ./Setup.hs + ]; + }; isLibrary = false; isExecutable = true; executableHaskellDepends = [ base ]; |