From 820a71f34ffb222f18ebcd7df4d20ea4aa31699b Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Sat, 22 Oct 2022 19:37:53 +0200 Subject: [PATCH] flake: rename input `nixpkgsUnstable` -> `nixpkgs-unstable` This follows common flake naming conventions. --- flake.lock | 4 ++-- flake.nix | 6 +++--- pkgs/nixpkgs-pinned.nix | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 24b5cbc..468640b 100644 --- a/flake.lock +++ b/flake.lock @@ -31,7 +31,7 @@ "type": "github" } }, - "nixpkgsUnstable": { + "nixpkgs-unstable": { "locked": { "lastModified": 1666570118, "narHash": "sha256-MTXmIYowHM1wyIYyqPdBLia5SjGnxETv0YkIbDsbkx4=", @@ -51,7 +51,7 @@ "inputs": { "flake-utils": "flake-utils", "nixpkgs": "nixpkgs", - "nixpkgsUnstable": "nixpkgsUnstable" + "nixpkgs-unstable": "nixpkgs-unstable" } } }, diff --git a/flake.nix b/flake.nix index 2ad95c0..2b1d9b2 100644 --- a/flake.nix +++ b/flake.nix @@ -6,11 +6,11 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.05"; - nixpkgsUnstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; flake-utils.url = "github:numtide/flake-utils"; }; - outputs = { self, nixpkgs, nixpkgsUnstable, flake-utils }: + outputs = { self, nixpkgs, nixpkgs-unstable, flake-utils }: let supportedSystems = [ "x86_64-linux" @@ -23,7 +23,7 @@ mkNbPkgs = { system , pkgs ? nixpkgs.legacyPackages.${system} - , pkgsUnstable ? nixpkgsUnstable.legacyPackages.${system} + , pkgsUnstable ? nixpkgs-unstable.legacyPackages.${system} }: import ./pkgs { inherit pkgs pkgsUnstable; }; }; diff --git a/pkgs/nixpkgs-pinned.nix b/pkgs/nixpkgs-pinned.nix index d3f3acc..41b0983 100644 --- a/pkgs/nixpkgs-pinned.nix +++ b/pkgs/nixpkgs-pinned.nix @@ -16,5 +16,5 @@ let in { nixpkgs = fetch lockedInputs.nixpkgs; - nixpkgs-unstable = fetch lockedInputs.nixpkgsUnstable; + nixpkgs-unstable = fetch lockedInputs.nixpkgs-unstable; }