summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authoruakci <uakci@uakci.pl>2022-06-10 00:00:31 +0200
committeruakci <uakci@uakci.pl>2022-06-10 00:00:31 +0200
commite55738ed00144be402c7cdb228c5176621bac14c (patch)
treeee284aab8ea56b20c0882e530d035699a49674bf /flake.nix
parentforce-add imagemagick to PATH? (diff)
downloadnuogai-e55738ed00144be402c7cdb228c5176621bac14c.tar.gz
nuogai-e55738ed00144be402c7cdb228c5176621bac14c.zip
adopt new version of gomod2nix
Diffstat (limited to '')
-rw-r--r--flake.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index 731d0d2..2fba7bd 100644
--- a/flake.nix
+++ b/flake.nix
@@ -15,7 +15,7 @@
let
pkgs = (import nixpkgs {
inherit system;
- overlays = [ gomod2nix.overlay ];
+ overlays = [ gomod2nix.overlays.default ];
}).pkgs;
in with pkgs;
let
@@ -74,7 +74,6 @@
};
nixosModule = { config, pkgs, lib, ... }@args:
import ./module.nix (args // { inherit self system; });
- }) // {
- inherit (gomod2nix) devShell;
- };
+ devShells.${system} = gomod2nix.devShells.${system};
+ });
}