From be49befd5239ab2715992e3103bd71327e5a7310 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 17 Jul 2017 22:48:32 +0200 Subject: ma sources: refactor redundant musnix in [vw]bob, studio --- makefu/1systems/vbob/source.nix | 7 ++----- makefu/1systems/wbob/source.nix | 7 ++----- makefu/source.nix | 17 +++++++++++++++-- 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/makefu/1systems/vbob/source.nix b/makefu/1systems/vbob/source.nix index af0f3780..5b726e40 100644 --- a/makefu/1systems/vbob/source.nix +++ b/makefu/1systems/vbob/source.nix @@ -1,7 +1,4 @@ import { - name="studio"; - override.musnix.git = { - url = https://github.com/musnix/musnix.git; - ref = "d8b989f"; - }; + name="vbob"; + musnix = true; } diff --git a/makefu/1systems/wbob/source.nix b/makefu/1systems/wbob/source.nix index af0f3780..6f079d71 100644 --- a/makefu/1systems/wbob/source.nix +++ b/makefu/1systems/wbob/source.nix @@ -1,7 +1,4 @@ import { - name="studio"; - override.musnix.git = { - url = https://github.com/musnix/musnix.git; - ref = "d8b989f"; - }; + name="wbob"; + musnix = true; } diff --git a/makefu/source.nix b/makefu/source.nix index 02ec2c17..ec86e7f7 100644 --- a/makefu/source.nix +++ b/makefu/source.nix @@ -1,10 +1,17 @@ with import ; -host@{ name, secure ? false, override ? {}, full ? false, torrent ? false }: let +host@{ name, + override ? {}, + secure ? false, + full ? false, + torrent ? false, + musnix ? false +}: +let builder = if getEnv "dummy_secrets" == "true" then "buildbot" else "makefu"; _file = + "/makefu/1systems/${name}/source.nix"; - ref = "0751450"; # unstable @ 2017-07-16 + graceful requests2 (a772c3aa) + ref = "74b40c3"; # unstable @ 2017-07-16 + graceful requests2 (a772c3aa) + libpurple bitlbee in evalSource (toString _file) [ @@ -32,6 +39,12 @@ in stockholm.file = toString ; } + (mkIf ( musnix ) { + musnix.git = { + url = https://github.com/musnix/musnix.git; + ref = "d8b989f"; + }; + }) (mkIf ( torrent ) { torrent-secrets.file = getAttr builder { buildbot = toString ; -- cgit v1.2.3