diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-03-30 02:00:31 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-03-30 02:01:49 +0200 |
commit | ccda44f3d06002684668f98c3ea9ba43d967ab65 (patch) | |
tree | 70522b9f96cbc1557ea1aecb5054b81c7a5465c5 /nixops | |
parent | 78228078d95dc4b062f040a0a604c2af66b421e0 (diff) | |
download | Nix-ccda44f3d06002684668f98c3ea9ba43d967ab65.tar.gz Nix-ccda44f3d06002684668f98c3ea9ba43d967ab65.tar.zst Nix-ccda44f3d06002684668f98c3ea9ba43d967ab65.zip |
Bootstrap niv
Diffstat (limited to 'nixops')
-rw-r--r-- | nixops/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nixops/Makefile b/nixops/Makefile index 1852e75..d8268cc 100644 --- a/nixops/Makefile +++ b/nixops/Makefile | |||
@@ -5,8 +5,10 @@ endif | |||
5 | 5 | ||
6 | NIXOPS_STATE ?= ./state/eldiron.nixops | 6 | NIXOPS_STATE ?= ./state/eldiron.nixops |
7 | NIXOPS_DEPLOYMENT = cef694f3-081d-11e9-b31f-0242ec186adf | 7 | NIXOPS_DEPLOYMENT = cef694f3-081d-11e9-b31f-0242ec186adf |
8 | nixpkgs ?= https://releases.nixos.org/nixos/19.03/nixos-19.03.173677.daf861a810d/nixexprs.tar.xz | 8 | nixpkgs ?= $(shell cat ../nix/sources.json | jq -r '."nixpkgs-nixops".url') |
9 | NIX_PATH = nixpkgs=${nixpkgs}:nixpkgsNext=${nixpkgs}:nixpkgsPrevious=${nixpkgs} | 9 | nixpkgsNext ?= $(shell cat ../nix/sources.json | jq -r '."nixpkgs-nixops-next".url') |
10 | nixpkgsPrevious ?= $(shell cat ../nix/sources.json | jq -r '."nixpkgs-nixops-previous".url') | ||
11 | NIX_PATH = nixpkgs=${nixpkgs}:nixpkgsNext=${nixpkgsNext}:nixpkgsPrevious=${nixpkgsPrevious} | ||
10 | 12 | ||
11 | NIXOPS := $(shell NIX_PATH=$(NIX_PATH) nix-build --no-out-link -E "with import <nixpkgs> { overlays = builtins.attrValues (import ../overlays); }; nixops")/bin/nixops | 13 | NIXOPS := $(shell NIX_PATH=$(NIX_PATH) nix-build --no-out-link -E "with import <nixpkgs> { overlays = builtins.attrValues (import ../overlays); }; nixops")/bin/nixops |
12 | NIXOPS_PRIV = ./scripts/with_env $(NIXOPS) | 14 | NIXOPS_PRIV = ./scripts/with_env $(NIXOPS) |