You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
522 B
Nix

{
supportedSystems ? [ "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;
blog_gallery = import ./blog-gallery.nix;
} // mapTestOn {
# Fancy shortcut to generate one attribute per supported platform.
hello = supportedSystems;
}