From 81ed391e5f4e25367ecad547b5075c37d0e6c8c1 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Wed, 15 Mar 2023 00:06:23 -0700 Subject: [PATCH] pin nixpkgs --- default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 67e44e2..a657dc2 100644 --- a/default.nix +++ b/default.nix @@ -1,4 +1,12 @@ -{ pkgs ? import {} +{ pkgs ? import (builtins.fetchGit { + # Descriptive name to make the store path easier to identify + name = "nixos-21.11-2023-03-15"; + url = "https://github.com/nixos/nixpkgs/"; + # Commit hash for nixos-unstable as of 2018-09-12 + # `git ls-remote https://github.com/nixos/nixpkgs nixos-unstable` + ref = "refs/tags/21.11"; + rev = "506445d88e183bce80e47fc612c710eb592045ed"; +}) {} }: let utils = pkgs.callPackage ./utils.nix {};