about summary refs log tree commit diff
path: root/pkgs/test/haskell/cabalSdist/local/generated.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/test/haskell/cabalSdist/local/generated.nix')
-rw-r--r--pkgs/test/haskell/cabalSdist/local/generated.nix9
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 ];