feat: add flake support
This commit is contained in:
parent
88edaabc0d
commit
de73c66c26
15
flake.nix
15
flake.nix
@ -7,7 +7,12 @@
|
||||
};
|
||||
|
||||
outputs =
|
||||
inputs@{ self, nixpkgs, utils, ... }:
|
||||
inputs@{
|
||||
self,
|
||||
nixpkgs,
|
||||
utils,
|
||||
...
|
||||
}:
|
||||
utils.lib.eachSystem
|
||||
[
|
||||
"x86_64-linux"
|
||||
@ -21,7 +26,9 @@
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
packages.kon = with pkgs; (buildGoModule rec {
|
||||
packages.kon =
|
||||
with pkgs;
|
||||
(buildGoModule rec {
|
||||
pname = "kon";
|
||||
version = "0.0.1";
|
||||
|
||||
@ -60,7 +67,9 @@
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath libs}
|
||||
'';
|
||||
});
|
||||
packages.adam-gui = pkgs.symlinkJoin { name = "adam-gui";
|
||||
packages.adam-gui = pkgs.symlinkJoin {
|
||||
name = "adam-gui";
|
||||
version = "0.0.1";
|
||||
paths = with pkgs; [
|
||||
(buildGoModule rec {
|
||||
pname = "adam-gui";
|
||||
|
Loading…
Reference in New Issue
Block a user