Skip to content

Commit 259b9fc

Browse files
committed
nixerize
1 parent 868c8fd commit 259b9fc

File tree

3 files changed

+87
-0
lines changed

3 files changed

+87
-0
lines changed

flake.lock

Lines changed: 43 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
3+
inputs.flake-utils.url = "github:numtide/flake-utils";
4+
5+
outputs = { self, nixpkgs, flake-utils }:
6+
flake-utils.lib.eachDefaultSystem (system: {
7+
packages.sammler =
8+
nixpkgs.legacyPackages.${system}.callPackage ./sammler.nix {};
9+
10+
defaultPackage = self.packages.${system}.sammler;
11+
});
12+
}
13+
14+
15+
16+
17+
18+
19+
20+
21+
22+
23+
24+
25+
26+

sammler.nix

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{ buildGoModule }:
2+
3+
buildGoModule rec {
4+
pname = "sammler";
5+
version = "0.0.1";
6+
7+
src = builtins.filterSource (path: type: type != "directory" || baseNameOf path != ".git") ./.;
8+
9+
vendorSha256 = "sha256:hA/wYLQvc3twcacdUhBTD46wjPcIA3DvDGIjphrMIJQ=";
10+
11+
subPackages = [ "." ];
12+
13+
runVend = true;
14+
15+
buildInputs = [ ];
16+
}
17+
18+

0 commit comments

Comments
 (0)