diff options
author | tv <tv@krebsco.de> | 2018-02-28 14:47:12 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2018-02-28 15:15:58 +0100 |
commit | 7c6325d0fbf6c9080f575d7608eb2e1942b52744 (patch) | |
tree | c12ff0ba908cf47cb09b0f883b15bcd5a8728ac9 /mv | |
parent | 6169d848f471ad37eaf675bc5ca33d4742ab4c09 (diff) |
os-release: use <stockholm-version>
Diffstat (limited to 'mv')
-rw-r--r-- | mv/source.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mv/source.nix b/mv/source.nix index 5f6b2fe..1a7b839 100644 --- a/mv/source.nix +++ b/mv/source.nix @@ -4,6 +4,11 @@ host@{ name, override ? {} }: let then "buildbot" else "mv"; _file = <stockholm> + "/mv/1systems/${name}/source.nix"; + pkgs = import <nixpkgs> { + overlays = map import [ + <stockholm/krebs/5pkgs> + ]; + }; in evalSource (toString _file) [ { @@ -18,6 +23,7 @@ in mv = "/home/mv/secrets/${name}"; }; stockholm.file = toString <stockholm>; + stockholm-version.pipe = "${pkgs.stockholm}/bin/get-version"; } override ] |