summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authoruakci <git@uakci.space>2022-11-26 10:17:20 +0100
committeruakci <git@uakci.space>2022-11-26 10:17:20 +0100
commit074c0167e6560531edf459d7439794ab53faa582 (patch)
treef7a2d3397a28c9d0e1b5f23eaa16aae58fb1844c /flake.nix
parentupdate domain; go 1.17 -> 1.19 (diff)
downloadnuogai-074c0167e6560531edf459d7439794ab53faa582.tar.gz
nuogai-074c0167e6560531edf459d7439794ab53faa582.zip
lock nixpkgs; downgrade back to go 1.17
Diffstat (limited to '')
-rw-r--r--flake.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 67ff5a9..76cda01 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,5 +1,6 @@
{
inputs = {
+ nixpkgs.url = "github:NixOS/nixpkgs/release-22.05";
flake-utils.url = "github:numtide/flake-utils/master";
gomod2nix.url = "github:tweag/gomod2nix/master";
toaq-dictionary = { url = "github:toaq/dictionary/master"; flake = false; };
@@ -11,7 +12,8 @@
let
pkgs = (import nixpkgs {
inherit system;
- overlays = [ gomod2nix.overlays.default ];
+ overlays =
+ [ gomod2nix.overlays.default (_: super: { go = super.go_1_17; }) ];
}).pkgs;
in with pkgs;
let