release-lib.nix: Make the set of supported platforms an argument

This commit is contained in:
Eelco Dolstra
2013-03-26 13:12:25 +01:00
parent f135b6e530
commit c5f45036e6
3 changed files with 6 additions and 6 deletions
+2 -4
View File
@@ -1,3 +1,5 @@
{ supportedSystems }:
rec {
# Ensure that we don't build packages marked as unfree.
@@ -8,10 +10,6 @@ rec {
pkgs = allPackages { system = "x86_64-linux"; };
# The platforms for which we build Nixpkgs.
supportedSystems = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "x86_64-freebsd" "i686-freebsd" ];
/* !!! Hack: poor man's memoisation function. Necessary to prevent
Nixpkgs from being evaluated again and again for every
job/platform pair. */