Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (18 sloc) 514 Bytes
builtins.mapAttrs (k: _v:
let
url = "https://github.com/NixOS/nixpkgs/archive/2255f292063ccbe184ff8f9b35ce475c04d5ae69.tar.gz";
pkgs = import (builtins.fetchTarball url) { system = k; };
in
pkgs.recurseIntoAttrs {
# These two attributes will appear in your job for each platform.
hello = pkgs.hello;
cow-hello = pkgs.runCommand "cow-hello" {
buildInputs = [ pkgs.hello pkgs.cowsay ];
} ''
hello | cowsay > $out
'';
}
) {
x86_64-linux = {};
x86_64-darwin = {};
}
You can’t perform that action at this time.