diff options
Diffstat (limited to 'jobset-nixpkgs.nix')
-rw-r--r-- | jobset-nixpkgs.nix | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/jobset-nixpkgs.nix b/jobset-nixpkgs.nix deleted file mode 100644 index c824fcb..0000000 --- a/jobset-nixpkgs.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ supportedSystems ? ["i686-linux" "x86_64-linux"] }: - -with (import <nixpkgs/pkgs/top-level/release-lib.nix> { inherit supportedSystems; }); - -{ - - # Simply assign a derivation to an attribute to have it built. - hello_world_1 = pkgs_x86_64_linux.hello; - - # 'hydraJob' strips all non-essential attributes. - hello_world_2 = pkgs.lib.hydraJob pkgs_x86_64_linux.hello; - - # Generate one attribute per supported platform. - hello_world_3 = pkgs.lib.genAttrs supportedSystems (system: (pkgsFor system).hello); - -} // mapTestOn { - - # Fancy shortcut to generate one attribute per supported platform. - hello = supportedSystems; - -}
\ No newline at end of file |