Skip to content

Commit 308e09f

Browse files
author
Shay Bergmann
committed
Add release.nix
1 parent 7d041c4 commit 308e09f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

release.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{ src ? builtins.fetchGit ./.
2+
, supportedSystems ? [ builtins.currentSystem ]
3+
}:
4+
let
5+
sources = import nix/sources.nix;
6+
lib = import (sources.nixpkgs + "/lib");
7+
in
8+
{
9+
mantis = lib.genAttrs supportedSystems (system: {
10+
inherit src system;
11+
});
12+
}

0 commit comments

Comments
 (0)