Last active
January 6, 2018 00:20
-
-
Save dhess/3f09460bb7fc4c4bc98e9fd2e56960cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nix-repl jobsets/release.nix | |
Welcome to Nix version 1.11.16. Type :? for help. | |
Loading ‘jobsets/release.nix’... | |
Added 2 variables. | |
nix-repl> ansible-env | |
{ } | |
nix-repl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
fixedNixPkgs = (import ../lib.nix).fetchNixPkgs; | |
in | |
{ supportedSystems ? [ "x86_64-darwin" ] | |
, scrubJobs ? true | |
, nixpkgsArgs ? { | |
config = { allowUnfree = true; allowBroken = true; inHydra = true; }; | |
overlays = [ (import ../.) ]; | |
} | |
}: | |
with import (fixedNixPkgs + "/pkgs/top-level/release-lib.nix") { | |
inherit supportedSystems scrubJobs nixpkgsArgs; | |
}; | |
let | |
jobs = { | |
x86_64-darwin = pkgs.releaseTools.aggregate { | |
name = "nixpkgs-dhess-x86_64-darwin"; | |
meta.description = "nixpkgs-dhess overlay packages (x86_64-darwin)"; | |
meta.maintainer = lib.maintainers.dhess; | |
constituents = with jobs; [ | |
emacs.x86_64-darwin | |
haskellPackages.fm-assistant.x86_64-darwin | |
haskellPackages.dhess-ssh-keygen.x86_64-darwin | |
xtensa-esp32-toolchain.x86_64-darwin | |
]; | |
}; | |
} // (mapTestOn ((packagePlatforms pkgs) // rec { | |
haskell.compiler = packagePlatforms pkgs.haskell.compiler; | |
haskellPackages = packagePlatforms pkgs.haskellPackages; | |
})); | |
in | |
{ | |
inherit (jobs) x86_64-darwin; | |
inherit (jobs) ansible-env; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment