summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2022-12-23 17:25:47 +0100
committerJörg Thalheim <joerg@thalheim.io>2022-12-23 17:25:47 +0100
commit236e08da9c2a123ae746ffc4b55dc311cf62ea29 (patch)
tree53910d4a5dda02a48c4120782b5245e40abd644d
parent935feb7496cbf96119f1eeb951f258c1550b3273 (diff)
pin nixpkgs again
-rw-r--r--flake.lock27
-rw-r--r--flake.nix6
2 files changed, 31 insertions, 2 deletions
diff --git a/flake.lock b/flake.lock
new file mode 100644
index 0000000..45dc98e
--- /dev/null
+++ b/flake.lock
@@ -0,0 +1,27 @@
+{
+ "nodes": {
+ "nixpkgs": {
+ "locked": {
+ "lastModified": 1671788672,
+ "narHash": "sha256-tLkPxJuos3jki2f/TZdHn+NuMQAzN9s2E4QudylQLg0=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "2c74fcd6c5fc14a61de158fb796243543f46b217",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixpkgs-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "root": {
+ "inputs": {
+ "nixpkgs": "nixpkgs"
+ }
+ }
+ },
+ "root": "root",
+ "version": 7
+}
diff --git a/flake.nix b/flake.nix
index 0344eb0..cd22b53 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,8 +1,10 @@
{
description = "Disko - declarative disk partitioning";
- # don't lock to give precedence to a USB live-installer's registry
- inputs.nixpkgs.url = "nixpkgs";
+ # FIXME: in future we don't want lock here to give precedence to a USB live-installer's registry,
+ # but garnix currently does not allow this.
+ #inputs.nixpkgs.url = "nixpkgs";
+ inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
outputs = { self, nixpkgs, ... }: let
supportedSystems = [