feat: add flake support

This commit is contained in:
Louis Dalibard 2024-07-10 14:41:53 +02:00
parent 10e03355a7
commit ae1a92f349

View File

@ -3,14 +3,12 @@
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
utils.url = "github:numtide/flake-utils";
};
outputs =
inputs@{
self,
nixpkgs,
utils,
...
}:
let
@ -21,8 +19,12 @@
};
in {
overlay = final: prev: {
packages.x86_64-linux = rec {
inherit (pkgs)
kon
adam-gui;
};
overlays.default = final: prev: {
kon =
with pkgs;
(buildGoModule rec {