summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-07-17 22:48:32 +0200
committermakefu <github@syntax-fehler.de>2017-07-17 22:48:32 +0200
commitbe49befd5239ab2715992e3103bd71327e5a7310 (patch)
treef04eb78b10fde594a5271da81c091680eb3283df /makefu
parent7fa327dde1b69dd62a54074edf45a7a1987afd1c (diff)
ma sources: refactor redundant musnix in [vw]bob, studio
Diffstat (limited to 'makefu')
-rw-r--r--makefu/1systems/vbob/source.nix7
-rw-r--r--makefu/1systems/wbob/source.nix7
-rw-r--r--makefu/source.nix17
3 files changed, 19 insertions, 12 deletions
diff --git a/makefu/1systems/vbob/source.nix b/makefu/1systems/vbob/source.nix
index af0f37809..5b726e40b 100644
--- a/makefu/1systems/vbob/source.nix
+++ b/makefu/1systems/vbob/source.nix
@@ -1,7 +1,4 @@
import <stockholm/makefu/source.nix> {
- 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 af0f37809..6f079d712 100644
--- a/makefu/1systems/wbob/source.nix
+++ b/makefu/1systems/wbob/source.nix
@@ -1,7 +1,4 @@
import <stockholm/makefu/source.nix> {
- 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 02ec2c177..ec86e7f77 100644
--- a/makefu/source.nix
+++ b/makefu/source.nix
@@ -1,10 +1,17 @@
with import <stockholm/lib>;
-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 = <stockholm> + "/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 <stockholm>;
}
+ (mkIf ( musnix ) {
+ musnix.git = {
+ url = https://github.com/musnix/musnix.git;
+ ref = "d8b989f";
+ };
+ })
(mkIf ( torrent ) {
torrent-secrets.file = getAttr builder {
buildbot = toString <stockholm/makefu/6tests/data/secrets>;