summaryrefslogtreecommitdiff
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
parentupdate domain; go 1.17 -> 1.19 (diff)
downloadnuogai-074c0167e6560531edf459d7439794ab53faa582.tar.gz
nuogai-074c0167e6560531edf459d7439794ab53faa582.zip
lock nixpkgs; downgrade back to go 1.17
-rw-r--r--flake.lock12
-rw-r--r--flake.nix4
2 files changed, 10 insertions, 6 deletions
diff --git a/flake.lock b/flake.lock
index 1281341..06292f2 100644
--- a/flake.lock
+++ b/flake.lock
@@ -54,16 +54,18 @@
},
"nixpkgs_2": {
"locked": {
- "lastModified": 1653918805,
- "narHash": "sha256-6ahwAnBNGgqSNSn/6RnsxrlFi+fkA+RyT6o/5S1915o=",
+ "lastModified": 1669418739,
+ "narHash": "sha256-T86oFvcUIRwHWBWUt7WjaP4BP/3lDGbv5AppQSI1FkI=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "a0a69be4b5ee63f1b5e75887a406e9194012b492",
+ "rev": "695b3515251873e0a7e2021add4bba643c56cde3",
"type": "github"
},
"original": {
- "id": "nixpkgs",
- "type": "indirect"
+ "owner": "NixOS",
+ "ref": "release-22.05",
+ "repo": "nixpkgs",
+ "type": "github"
}
},
"root": {
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