diff options
author | Gabriel Gonzalez <gabriel@awakenetworks.com> | 2018-07-03 17:44:19 -0700 |
---|---|---|
committer | Gabriel Gonzalez <gabriel@awakenetworks.com> | 2018-07-03 17:44:19 -0700 |
commit | 8dae83157b42e79aac8f45cfbf0c27c4f67b5ec9 (patch) | |
tree | b162a05ce98ad82b7dbc875cf780b289678d1c3b /pkgs/development/haskell-modules/lib.nix | |
parent | e57fd11bb4c74ac858184611240f295ab7043d52 (diff) | |
download | nixpkgs-8dae83157b42e79aac8f45cfbf0c27c4f67b5ec9.tar nixpkgs-8dae83157b42e79aac8f45cfbf0c27c4f67b5ec9.tar.gz nixpkgs-8dae83157b42e79aac8f45cfbf0c27c4f67b5ec9.tar.bz2 nixpkgs-8dae83157b42e79aac8f45cfbf0c27c4f67b5ec9.tar.lz nixpkgs-8dae83157b42e79aac8f45cfbf0c27c4f67b5ec9.tar.xz nixpkgs-8dae83157b42e79aac8f45cfbf0c27c4f67b5ec9.tar.zst nixpkgs-8dae83157b42e79aac8f45cfbf0c27c4f67b5ec9.zip |
Change `readDirectory` to accept an attribute set
... as suggested by @roberth
Diffstat (limited to 'pkgs/development/haskell-modules/lib.nix')
-rw-r--r-- | pkgs/development/haskell-modules/lib.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/lib.nix b/pkgs/development/haskell-modules/lib.nix index 8a5ed7d4e94..f5713b6cd20 100644 --- a/pkgs/development/haskell-modules/lib.nix +++ b/pkgs/development/haskell-modules/lib.nix @@ -387,7 +387,7 @@ rec { # # readDirectory : Directory -> HaskellPackageOverrideSet readDirectory = - directory: + { directory }: self: super: let |