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