ma sources: refactor redundant musnix in [vw]bob, studio
This commit is contained in:
parent
970469c10a
commit
e2dacab501
|
@ -1,7 +1,4 @@
|
||||||
import <stockholm/makefu/source.nix> {
|
import <stockholm/makefu/source.nix> {
|
||||||
name="studio";
|
name="vbob";
|
||||||
override.musnix.git = {
|
musnix = true;
|
||||||
url = https://github.com/musnix/musnix.git;
|
|
||||||
ref = "d8b989f";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
import <stockholm/makefu/source.nix> {
|
import <stockholm/makefu/source.nix> {
|
||||||
name="studio";
|
name="wbob";
|
||||||
override.musnix.git = {
|
musnix = true;
|
||||||
url = https://github.com/musnix/musnix.git;
|
|
||||||
ref = "d8b989f";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
17
source.nix
17
source.nix
|
@ -1,10 +1,17 @@
|
||||||
with import <stockholm/lib>;
|
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"
|
builder = if getEnv "dummy_secrets" == "true"
|
||||||
then "buildbot"
|
then "buildbot"
|
||||||
else "makefu";
|
else "makefu";
|
||||||
_file = <stockholm> + "/makefu/1systems/${name}/source.nix";
|
_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
|
in
|
||||||
evalSource (toString _file) [
|
evalSource (toString _file) [
|
||||||
|
@ -32,6 +39,12 @@ in
|
||||||
|
|
||||||
stockholm.file = toString <stockholm>;
|
stockholm.file = toString <stockholm>;
|
||||||
}
|
}
|
||||||
|
(mkIf ( musnix ) {
|
||||||
|
musnix.git = {
|
||||||
|
url = https://github.com/musnix/musnix.git;
|
||||||
|
ref = "d8b989f";
|
||||||
|
};
|
||||||
|
})
|
||||||
(mkIf ( torrent ) {
|
(mkIf ( torrent ) {
|
||||||
torrent-secrets.file = getAttr builder {
|
torrent-secrets.file = getAttr builder {
|
||||||
buildbot = toString <stockholm/makefu/6tests/data/secrets>;
|
buildbot = toString <stockholm/makefu/6tests/data/secrets>;
|
||||||
|
|
Loading…
Reference in a new issue