about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-halvm-2.4.0.nix
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2017-08-01 12:44:08 -0400
committerPeter Simons <simons@cryp.to>2017-08-03 13:12:01 +0200
commit74f5fe50681003f075bf0b1ff811d0c0cd7c64f3 (patch)
tree3778107673a5b406aaca29fe5901c0cf998af555 /pkgs/development/haskell-modules/configuration-halvm-2.4.0.nix
parenta2825a3c6f445175d4ad8dc52b8c02af3c629571 (diff)
downloadnixlib-74f5fe50681003f075bf0b1ff811d0c0cd7c64f3.tar
nixlib-74f5fe50681003f075bf0b1ff811d0c0cd7c64f3.tar.gz
nixlib-74f5fe50681003f075bf0b1ff811d0c0cd7c64f3.tar.bz2
nixlib-74f5fe50681003f075bf0b1ff811d0c0cd7c64f3.tar.lz
nixlib-74f5fe50681003f075bf0b1ff811d0c0cd7c64f3.tar.xz
nixlib-74f5fe50681003f075bf0b1ff811d0c0cd7c64f3.tar.zst
nixlib-74f5fe50681003f075bf0b1ff811d0c0cd7c64f3.zip
haskell infra: Misc cleanups
 - The haskell lib is very close to not relying on Nixpkgs. I think
   this is good---simpler to think about and matches Nixpkgs's lib.

 - The haskell lib is only imported once

 - stdenv is exposed more shallowly so it can be overriden more easily.
   I'll eventually use this on Darwin to avoid the Sierra shared
   library problems (unless changes are to be made system-wide).

Closes https://github.com/NixOS/nixpkgs/pull/27840.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-halvm-2.4.0.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-halvm-2.4.0.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/configuration-halvm-2.4.0.nix b/pkgs/development/haskell-modules/configuration-halvm-2.4.0.nix
index cd7857e23de9..be90794f58d9 100644
--- a/pkgs/development/haskell-modules/configuration-halvm-2.4.0.nix
+++ b/pkgs/development/haskell-modules/configuration-halvm-2.4.0.nix
@@ -1,6 +1,6 @@
-{ pkgs }:
+{ pkgs, haskellLib }:
 
-with import ./lib.nix { inherit pkgs; };
+with haskellLib;
 
 self: super: {