forked from M-Labs/thermostat
release.nix: runCommand
This commit is contained in:
parent
faab0d4546
commit
3928005bbf
12
release.nix
12
release.nix
|
@ -3,9 +3,15 @@
|
||||||
rustManifest ? ./nix/channel-rust-nightly.toml
|
rustManifest ? ./nix/channel-rust-nightly.toml
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
with pkgs;
|
||||||
adc2tcp = pkgs.lib.hydraJob (pkgs.callPackage (import ./default.nix) {
|
let
|
||||||
|
adc2tcp = callPackage (import ./default.nix) {
|
||||||
inherit rustManifest;
|
inherit rustManifest;
|
||||||
mozillaOverlay = import <mozillaOverlay>;
|
mozillaOverlay = import <mozillaOverlay>;
|
||||||
});
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
build = runCommand "build-adc2tcp" {
|
||||||
|
buildInputs = [ adc2tcp ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue