Commit 98063255 authored by K900's avatar K900
Browse files

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
parent 1b42ea0a
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -8,13 +8,10 @@
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
    ];
  src = builtins.path {
    path = ./.;
    name = "source";
    filter = path: _: (builtins.baseNameOf path) != "default.nix";
  };
  isLibrary = false;
  isExecutable = true;