diff options
author | maralorn <mail@maralorn.de> | 2022-09-20 03:37:03 +0200 |
---|---|---|
committer | maralorn <mail@maralorn.de> | 2022-09-21 05:51:28 +0200 |
commit | fae2ff5c035231ea858f9fa6f712e50143db0899 (patch) | |
tree | 5f8a18918d17ac4f5687d0e439ef66ccf9787982 /nixos/doc/manual/development | |
parent | 161a30b76a660091ecb6cbc988e9fbb79f9f8430 (diff) |
haskell.{compiler,packages}: Add aliases without minor versions
Diffstat (limited to 'nixos/doc/manual/development')
-rw-r--r-- | nixos/doc/manual/development/option-declarations.section.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/doc/manual/development/option-declarations.section.md b/nixos/doc/manual/development/option-declarations.section.md index 7fdc77b964a17..0f5673dd4d585 100644 --- a/nixos/doc/manual/development/option-declarations.section.md +++ b/nixos/doc/manual/development/option-declarations.section.md @@ -124,14 +124,14 @@ lib.mkOption { ```nix lib.mkPackageOption pkgs "GHC" { default = [ "ghc" ]; - example = "pkgs.haskell.packages.ghc924.ghc.withPackages (hkgs: [ hkgs.primes ])"; + example = "pkgs.haskell.packages.ghc92.ghc.withPackages (hkgs: [ hkgs.primes ])"; } # is like lib.mkOption { type = lib.types.package; default = pkgs.ghc; defaultText = lib.literalExpression "pkgs.ghc"; - example = lib.literalExpression "pkgs.haskell.packages.ghc924.ghc.withPackages (hkgs: [ hkgs.primes ])"; + example = lib.literalExpression "pkgs.haskell.packages.ghc92.ghc.withPackages (hkgs: [ hkgs.primes ])"; description = "The GHC package to use."; } ``` |