Skip to content

Commit

Permalink
use released-nixpkgs (aka nixos stable) channel to track nix releases
Browse files Browse the repository at this point in the history
  • Loading branch information
garbas committed Jun 8, 2020
1 parent 0dc23c7 commit 215244e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions flake.nix
@@ -1,6 +1,4 @@
{
edition = 201909;

description = "The nixos.org homepage";

# This is used to build the site.
Expand Down Expand Up @@ -64,7 +62,7 @@
'';

makeFlags =
[ "NIX_MANUAL_IN=${nix.doc}/share/doc/nix/manual"
[ "NIX_MANUAL_IN=${released-nixpkgs.legacyPackages.x86_64-linux.nix.doc}/share/doc/nix/manual"
"NIXOS_MANUAL_IN=${released-nixpkgs.htmlDocs.nixosManual}"
"NIXPKGS_MANUAL_IN=${released-nixpkgs.htmlDocs.nixpkgsManual}"
"NIXOS_AMIS=${packages.x86_64-linux.nixosAmis}"
Expand All @@ -78,7 +76,7 @@
'';

shellHook = ''
export NIX_MANUAL_IN="${nix.doc}/share/doc/nix/manual"
export NIX_MANUAL_IN="${released-nixpkgs.legacyPackages.x86_64-linux.nix.doc}/share/doc/nix/manual"
export NIXOS_MANUAL_IN="${released-nixpkgs.htmlDocs.nixosManual}"
export NIXPKGS_MANUAL_IN="${released-nixpkgs.htmlDocs.nixpkgsManual}"
export NIXOS_AMIS="${packages.x86_64-linux.nixosAmis}"
Expand Down

0 comments on commit 215244e

Please sign in to comment.