|
48 | 48 | perSystem =
|
49 | 49 | { config, system, ... }:
|
50 | 50 | let
|
51 |
| - overlay = final: prev: { |
52 |
| - asciinema-scenario = final.rustPlatform.buildRustPackage rec { |
53 |
| - pname = "asciinema-scenario"; |
54 |
| - version = "0.2.0"; |
55 |
| - src = final.fetchCrate { |
56 |
| - inherit pname version; |
57 |
| - sha256 = "sha256-qMGi+myppWBapM7TkPeXC2g/M1FA1YGwESNrx8LVXkw="; |
58 |
| - }; |
59 |
| - cargoSha256 = "0z4iwjm38xfgipl1pcrkl8277p627pls565k7cclrhxfcx3f513p"; |
60 |
| - }; |
61 |
| - }; |
62 |
| - |
63 | 51 | pkgs = import nixpkgs {
|
64 | 52 | inherit system;
|
65 |
| - overlays = [ overlay ]; |
66 | 53 | };
|
67 | 54 | inherit (pkgs.lib) getVersion;
|
68 | 55 |
|
|
72 | 59 | nix_stable = released-nix-stable.packages."${system}".nix;
|
73 | 60 | nix_unstable = released-nix-unstable.packages."${system}".nix;
|
74 | 61 |
|
| 62 | + nix_doc_stable = released-nix-stable.packages."${system}".nix-manual; |
| 63 | + nix_doc_unstable = released-nix-unstable.packages."${system}".nix-manual; |
| 64 | + |
75 | 65 | nodejs_current = pkgs.nodejs_20;
|
76 | 66 |
|
77 | 67 | nixPills = import nix-pills {
|
@@ -169,8 +159,8 @@ rec {
|
169 | 159 | ${redirectManualHTML "/learn" "$out/index.html"}
|
170 | 160 |
|
171 | 161 | nix_dir=$PWD/nix && mkdir -p $nix_dir
|
172 |
| - cp -R --no-preserve=mode,ownership ${nix_stable.doc}/share/doc/nix/manual $nix_dir/stable |
173 |
| - cp -R --no-preserve=mode,ownership ${nix_unstable.doc}/share/doc/nix/manual $nix_dir/unstable |
| 162 | + cp -R --no-preserve=mode,ownership ${nix_doc_stable}/share/doc/nix/manual $nix_dir/stable |
| 163 | + cp -R --no-preserve=mode,ownership ${nix_doc_unstable}/share/doc/nix/manual $nix_dir/unstable |
174 | 164 | ${manualVersionSwitch "$nix_dir" "stable"}
|
175 | 165 | ${redirectManualHTML "/manual/nix/stable" "$nix_dir/index.html"}
|
176 | 166 | mv $nix_dir $out
|
|
0 commit comments