Skip to content

Commit 041092b

Browse files
committed
added meta attributes
1 parent 3a083db commit 041092b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

default.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
EOFTAG
3030
runHook postInstall
3131
'';
32+
meta = {
33+
mainProgram = APPNAME;
34+
description = "classic minesweeper where you can choose any size, number of bombs, or number of lives";
35+
license = lib.licenses.mit;
36+
homepage = "https://github.com/BirdeeHub/minesweeper";
37+
maintainers = if lib.maintainers ? birdee then [ lib.maintainers.birdee ] else [];
38+
};
3239
};
3340
in
3441
APPDRV

flake.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
APPNAME = "minesweeper";
1717
appOverlay = final: _: {
18-
${APPNAME} = final.callPackage ./. { inherit inputs APPNAME; inherit (final) system; };
18+
${APPNAME} = final.callPackage ./. { inherit APPNAME; };
1919
};
2020

2121
in {
@@ -32,7 +32,8 @@
3232
packages = [ jdk ];
3333
DEVSHELL = 0;
3434
JAVA_HOME = "${jdk}";
35-
shellHook = ''exec ${zsh}/bin/zsh'';
35+
shellHook = ''
36+
'';
3637
};
3738
};
3839
})

0 commit comments

Comments
 (0)