pkgs/haskell-modules: two small vanity fixes

This commit is contained in:
Profpatsch 2017-08-06 21:46:49 +02:00
parent 4e6c41e7fa
commit 3f27a36912
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,7 @@
{ stdenv, fetchurl, ghc, pkgconfig, glibcLocales, coreutils, gnugrep, gnused { stdenv, fetchurl, ghc, pkgconfig, glibcLocales, coreutils, gnugrep, gnused
, jailbreak-cabal, hscolour, cpphs, nodejs, lib, removeReferencesTo , jailbreak-cabal, hscolour, cpphs, nodejs, lib, removeReferencesTo
}: let isCross = (ghc.cross or null) != null; in }:
let isCross = (ghc.cross or null) != null; in
{ pname { pname
, dontStrip ? (ghc.isGhcjs or false) , dontStrip ? (ghc.isGhcjs or false)

View File

@ -25,7 +25,9 @@
}: }:
# return value: a function from self to the package set # return value: a function from self to the package set
self: let self:
let
inherit (stdenv.lib) fix' extends makeOverridable; inherit (stdenv.lib) fix' extends makeOverridable;
inherit (haskellLib) overrideCabal; inherit (haskellLib) overrideCabal;