Skip to content

Commit 3111ccf

Browse files
authored
haskellPackages.ghc-settings-edit: avoid the use of filesets (#346733)
2 parents 5efce4f + 9806325 commit 3111ccf

File tree

1 file changed

+4
-7
lines changed
  • pkgs/development/tools/haskell/ghc-settings-edit

1 file changed

+4
-7
lines changed

pkgs/development/tools/haskell/ghc-settings-edit/default.nix

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,10 @@
88
mkDerivation {
99
pname = "ghc-settings-edit";
1010
version = "0.1.0";
11-
src = lib.fileset.toSource {
12-
root = ./.;
13-
fileset = lib.fileset.unions [
14-
./Setup.hs
15-
./ghc-settings-edit.lhs
16-
./ghc-settings-edit.cabal
17-
];
11+
src = builtins.path {
12+
path = ./.;
13+
name = "source";
14+
filter = path: _: (builtins.baseNameOf path) != "default.nix";
1815
};
1916
isLibrary = false;
2017
isExecutable = true;

0 commit comments

Comments
 (0)