diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-12-25 21:42:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-25 21:42:05 +0100 |
commit | 5af3f865e84ecc9baa846ec1d85cc7192f0d3543 (patch) | |
tree | 98c50c657c4801854f16ee8cbb2661a292c7d972 /nixos/modules/misc | |
parent | f3ae2deafb0dd0c5dd4fb2716dcda83b209bd719 (diff) | |
parent | 26f704b545838084e334f37d434a648c0c564ffd (diff) | |
download | nixpkgs-5af3f865e84ecc9baa846ec1d85cc7192f0d3543.tar nixpkgs-5af3f865e84ecc9baa846ec1d85cc7192f0d3543.tar.gz nixpkgs-5af3f865e84ecc9baa846ec1d85cc7192f0d3543.tar.bz2 nixpkgs-5af3f865e84ecc9baa846ec1d85cc7192f0d3543.tar.lz nixpkgs-5af3f865e84ecc9baa846ec1d85cc7192f0d3543.tar.xz nixpkgs-5af3f865e84ecc9baa846ec1d85cc7192f0d3543.tar.zst nixpkgs-5af3f865e84ecc9baa846ec1d85cc7192f0d3543.zip |
Merge pull request #206775 from SuperSandro2000/runCommand-nativeBuildInputs
Diffstat (limited to 'nixos/modules/misc')
-rw-r--r-- | nixos/modules/misc/documentation.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/misc/documentation.nix b/nixos/modules/misc/documentation.nix index 64a8f7846b4..1557bf4bd3e 100644 --- a/nixos/modules/misc/documentation.nix +++ b/nixos/modules/misc/documentation.nix @@ -77,10 +77,11 @@ let pkgsLibPath = filter (pkgs.path + "/pkgs/pkgs-lib"); nixosPath = filter (pkgs.path + "/nixos"); modules = map (p: ''"${removePrefix "${modulesPath}/" (toString p)}"'') docModules.lazy; + nativeBuildInputs = with pkgs; [ nix ]; } '' export NIX_STORE_DIR=$TMPDIR/store export NIX_STATE_DIR=$TMPDIR/state - ${pkgs.buildPackages.nix}/bin/nix-instantiate \ + nix-instantiate \ --show-trace \ --eval --json --strict \ --argstr libPath "$libPath" \ |