aboutsummaryrefslogtreecommitdiff
path: root/nixops/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nixops/Makefile')
-rw-r--r--nixops/Makefile6
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
6NIXOPS_STATE ?= ./state/eldiron.nixops 6NIXOPS_STATE ?= ./state/eldiron.nixops
7NIXOPS_DEPLOYMENT = cef694f3-081d-11e9-b31f-0242ec186adf 7NIXOPS_DEPLOYMENT = cef694f3-081d-11e9-b31f-0242ec186adf
8nixpkgs ?= https://releases.nixos.org/nixos/19.03/nixos-19.03.173677.daf861a810d/nixexprs.tar.xz 8nixpkgs ?= $(shell cat ../nix/sources.json | jq -r '."nixpkgs-nixops".url')
9NIX_PATH = nixpkgs=${nixpkgs}:nixpkgsNext=${nixpkgs}:nixpkgsPrevious=${nixpkgs} 9nixpkgsNext ?= $(shell cat ../nix/sources.json | jq -r '."nixpkgs-nixops-next".url')
10nixpkgsPrevious ?= $(shell cat ../nix/sources.json | jq -r '."nixpkgs-nixops-previous".url')
11NIX_PATH = nixpkgs=${nixpkgs}:nixpkgsNext=${nixpkgsNext}:nixpkgsPrevious=${nixpkgsPrevious}
10 12
11NIXOPS := $(shell NIX_PATH=$(NIX_PATH) nix-build --no-out-link -E "with import <nixpkgs> { overlays = builtins.attrValues (import ../overlays); }; nixops")/bin/nixops 13NIXOPS := $(shell NIX_PATH=$(NIX_PATH) nix-build --no-out-link -E "with import <nixpkgs> { overlays = builtins.attrValues (import ../overlays); }; nixops")/bin/nixops
12NIXOPS_PRIV = ./scripts/with_env $(NIXOPS) 14NIXOPS_PRIV = ./scripts/with_env $(NIXOPS)