feat: add flake support

This commit is contained in:
Louis Dalibard 2024-07-10 13:53:15 +02:00
parent 37d3cf16bd
commit 151aed52cc

View File

@ -21,7 +21,7 @@
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
in in
{ {
packages.kon = with pkgs; [ packages.kon = with pkgs;
(buildGoModule rec { (buildGoModule rec {
pname = "kon"; pname = "kon";
version = "0.0.1"; version = "0.0.1";
@ -60,8 +60,7 @@
wrapProgram "$out/bin/kon" \ wrapProgram "$out/bin/kon" \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath libs} --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath libs}
''; '';
}) });
];
packages.adam-gui = with pkgs; [ packages.adam-gui = with pkgs; [
(buildGoModule rec { (buildGoModule rec {
pname = "adam-gui"; pname = "adam-gui";