Files
nix-public-expressions/release.nix

25 lines
624 B
Nix
Raw Normal View History

2016-10-22 17:19:31 +02:00
{
2016-10-30 01:11:48 +02:00
supportedSystems ? [ "x86_64-linux" ]
2016-10-22 17:06:25 +02:00
}:
2016-10-22 17:19:31 +02:00
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;
2016-10-30 01:11:48 +02:00
blog_gallery = import ./blog-gallery.nix;
2016-10-30 01:17:45 +02:00
blog_r6d = import ./blog-r6d.nix;
gogs_jpierre03_homepage = import ./gogs-jpierre03-homepage.nix;
2016-10-22 17:19:31 +02:00
} // mapTestOn {
# Fancy shortcut to generate one attribute per supported platform.
hello = supportedSystems;
}