1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

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
This commit is contained in:
K900 2024-10-05 23:45:00 +03:00
parent 1b42ea0abc
commit 98063255ff

View file

@ -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;