diff options
author | Doug Beardsley <mightybyte@gmail.com> | 2018-10-17 14:44:07 -0400 |
---|---|---|
committer | Doug Beardsley <mightybyte@gmail.com> | 2018-10-17 14:44:07 -0400 |
commit | c3c82aa675bb32f666d67b320a0f2a624298c0d7 (patch) | |
tree | 2072f0376236c6c837b31620b0bfad7fa6502928 /pkgs/development/haskell-modules/make-package-set.nix | |
parent | d36c55a530e31955ef9657dab745faf9f315eae8 (diff) | |
download | nixlib-c3c82aa675bb32f666d67b320a0f2a624298c0d7.tar nixlib-c3c82aa675bb32f666d67b320a0f2a624298c0d7.tar.gz nixlib-c3c82aa675bb32f666d67b320a0f2a624298c0d7.tar.bz2 nixlib-c3c82aa675bb32f666d67b320a0f2a624298c0d7.tar.lz nixlib-c3c82aa675bb32f666d67b320a0f2a624298c0d7.tar.xz nixlib-c3c82aa675bb32f666d67b320a0f2a624298c0d7.tar.zst nixlib-c3c82aa675bb32f666d67b320a0f2a624298c0d7.zip |
Update developPackage documentation
Diffstat (limited to 'pkgs/development/haskell-modules/make-package-set.nix')
-rw-r--r-- | pkgs/development/haskell-modules/make-package-set.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/haskell-modules/make-package-set.nix b/pkgs/development/haskell-modules/make-package-set.nix index 400465264883..5803e2946bff 100644 --- a/pkgs/development/haskell-modules/make-package-set.nix +++ b/pkgs/development/haskell-modules/make-package-set.nix @@ -200,12 +200,12 @@ in package-set { inherit pkgs stdenv callPackage; } self // { # , modifier : Defaulted # , returnShellEnv : Defaulted # } -> NixShellAwareDerivation - # Given a path to a haskell package directory whose cabal file is - # named the same as the directory name, an optional set of - # source overrides as appropriate for the 'packageSourceOverrides' - # function, an optional set of arbitrary overrides, and an optional - # haskell package modifier, return a derivation appropriate - # for nix-build or nix-shell to build that package. + # Given a path to a haskell package directory, an optional package name + # which defaults to the base name of the path, an optional set of source + # overrides as appropriate for the 'packageSourceOverrides' function, an + # optional set of arbitrary overrides, and an optional haskell package + # modifier, return a derivation appropriate for nix-build or nix-shell to + # build that package. developPackage = { root , name ? builtins.baseNameOf root |