diff --git a/pkgs/development/tools/haskell/ghc-settings-edit/default.nix b/pkgs/development/tools/haskell/ghc-settings-edit/default.nix index fa5146a128bb..4cd19aebcdd7 100644 --- a/pkgs/development/tools/haskell/ghc-settings-edit/default.nix +++ b/pkgs/development/tools/haskell/ghc-settings-edit/default.nix @@ -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;