From 074c0167e6560531edf459d7439794ab53faa582 Mon Sep 17 00:00:00 2001 From: uakci Date: Sat, 26 Nov 2022 10:17:20 +0100 Subject: lock nixpkgs; downgrade back to go 1.17 --- flake.lock | 12 +++++++----- flake.nix | 4 +++- 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 -- cgit v1.2.3