Skip to content

Commit

Permalink
nix-doc: pin to older nix version
Browse files Browse the repository at this point in the history
nix-doc's plugin doesn't build with the latest nix version.
And it's unclear to me if nix-doc + nix 2.24 works without.
  • Loading branch information
Mic92 committed Aug 17, 2024
1 parent a0d6390 commit 15d639f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/tools/package-management/nix-doc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
, rustPlatform
, fetchFromGitHub
, boost
, nix
, nixVersions
, pkg-config
# Whether to build the nix-doc plugin for Nix
, withPlugin ? true
Expand All @@ -24,9 +24,9 @@ rustPlatform.buildRustPackage rec {
};

doCheck = true;
buildInputs = lib.optionals withPlugin [ boost nix ];
buildInputs = lib.optionals withPlugin [ boost nixVersions.nix_2_18 ];

nativeBuildInputs = lib.optionals withPlugin [ pkg-config nix ];
nativeBuildInputs = lib.optionals withPlugin [ pkg-config nixVersions.nix_2_18 ];

cargoBuildFlags = packageFlags;
cargoTestFlags = packageFlags;
Expand Down

0 comments on commit 15d639f

Please sign in to comment.