diff options
author | Shea Levy <shea@shealevy.com> | 2018-03-01 10:37:57 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2018-03-01 10:41:50 -0500 |
commit | 20072d733bd6ecf9afd98c7cfbb3f3574de4eaef (patch) | |
tree | 640c6692f06d027b3ebee496c97fb0b241617646 /nixos/doc/manual/default.nix | |
parent | bcb1bb5c11b311b08bb8326e1bf2760c5500d2ea (diff) | |
download | nixpkgs-20072d733bd6ecf9afd98c7cfbb3f3574de4eaef.tar nixpkgs-20072d733bd6ecf9afd98c7cfbb3f3574de4eaef.tar.gz nixpkgs-20072d733bd6ecf9afd98c7cfbb3f3574de4eaef.tar.bz2 nixpkgs-20072d733bd6ecf9afd98c7cfbb3f3574de4eaef.tar.lz nixpkgs-20072d733bd6ecf9afd98c7cfbb3f3574de4eaef.tar.xz nixpkgs-20072d733bd6ecf9afd98c7cfbb3f3574de4eaef.tar.zst nixpkgs-20072d733bd6ecf9afd98c7cfbb3f3574de4eaef.zip |
nixos: manual: Fix cross-compilation.
Diffstat (limited to 'nixos/doc/manual/default.nix')
-rw-r--r-- | nixos/doc/manual/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/doc/manual/default.nix b/nixos/doc/manual/default.nix index 6098b057a37..3b01f4fed35 100644 --- a/nixos/doc/manual/default.nix +++ b/nixos/doc/manual/default.nix @@ -87,7 +87,7 @@ let echo "for hints about the offending path)." exit 1 fi - ${libxslt.bin}/bin/xsltproc \ + ${buildPackages.libxslt.bin}/bin/xsltproc \ --stringparam revision '${revision}' \ -o $out ${./options-to-docbook.xsl} $optionsXML ''; @@ -139,7 +139,7 @@ let manual-combined = runCommand "nixos-manual-combined" { inherit sources; - buildInputs = [ libxml2 libxslt ]; + nativeBuildInputs = [ buildPackages.libxml2 buildPackages.libxslt ]; meta.description = "The NixOS manual as plain docbook XML"; } '' @@ -194,7 +194,7 @@ let olinkDB = runCommand "manual-olinkdb" { inherit sources; - buildInputs = [ libxml2 libxslt ]; + nativeBuildInputs = [ buildPackages.libxml2 buildPackages.libxslt ]; } '' xsltproc \ @@ -244,7 +244,7 @@ in rec { # Generate the NixOS manual. manual = runCommand "nixos-manual" { inherit sources; - buildInputs = [ libxml2 libxslt ]; + nativeBuildInputs = [ buildPackages.libxml2 buildPackages.libxslt ]; meta.description = "The NixOS manual in HTML format"; allowedReferences = ["out"]; } @@ -302,7 +302,7 @@ in rec { # Generate the NixOS manpages. manpages = runCommand "nixos-manpages" { inherit sources; - buildInputs = [ libxml2 libxslt ]; + nativeBuildInputs = [ buildPackages.libxml2 buildPackages.libxslt ]; allowedReferences = ["out"]; } '' |