haskellPackages.ghc-settings-edit: avoid the use of filesets

This should be 0 rebuilds, except it fixes the installer tests, as
lib.filesets is somehow broken when combining chroot stores with
channel references (???).

Running nixosTests.installer.simple with this reverted will reproduce
the issue consistently.

CC @infinisil

K900 98063255 1b42ea0a

Changed files
+4 -7
pkgs
development
tools
haskell
ghc-settings-edit
+4 -7
pkgs/development/tools/haskell/ghc-settings-edit/default.nix
···
mkDerivation {
pname = "ghc-settings-edit";
version = "0.1.0";
-
src = lib.fileset.toSource {
-
root = ./.;
-
fileset = lib.fileset.unions [
-
./Setup.hs
-
./ghc-settings-edit.lhs
-
./ghc-settings-edit.cabal
-
];
};
isLibrary = false;
isExecutable = true;
···
mkDerivation {
pname = "ghc-settings-edit";
version = "0.1.0";
+
src = builtins.path {
+
path = ./.;
+
name = "source";
+
filter = path: _: (builtins.baseNameOf path) != "default.nix";
};
isLibrary = false;
isExecutable = true;