Skip to content

Commit 3218959

Browse files
committed
Use determinate-specific input names
1 parent 02fcf7b commit 3218959

2 files changed

Lines changed: 24 additions & 23 deletions

File tree

flake.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
description = "The purely functional package manager";
33

4-
inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.2505";
4+
inputs.determinate-nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.2505";
55

66
inputs.nixpkgs-regression.url = "github:NixOS/nixpkgs/215d4d0fd80ca5163643b03a33fde804a29cc1e2";
77
inputs.nixpkgs-23-11.url = "github:NixOS/nixpkgs/a62e6edd6d5e1fa0329b8653c801147986f8d446";
@@ -10,21 +10,21 @@
1010
inputs.flake-parts.url = "https://flakehub.com/f/hercules-ci/flake-parts/0.1";
1111
inputs.git-hooks-nix.url = "https://flakehub.com/f/cachix/git-hooks.nix/0.1.941";
1212
# work around https://github.com/NixOS/nix/issues/7730
13-
inputs.flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
14-
inputs.git-hooks-nix.inputs.nixpkgs.follows = "nixpkgs";
13+
inputs.flake-parts.inputs.nixpkgs-lib.follows = "determinate-nixpkgs";
14+
inputs.git-hooks-nix.inputs.nixpkgs.follows = "determinate-nixpkgs";
1515
# work around 7730 and https://github.com/NixOS/nix/issues/7807
1616
inputs.git-hooks-nix.inputs.gitignore.follows = "";
1717

1818
outputs =
1919
inputs@{
2020
self,
21-
nixpkgs,
21+
determinate-nixpkgs,
2222
nixpkgs-regression,
2323
...
2424
}:
2525

2626
let
27-
inherit (nixpkgs) lib;
27+
inherit (determinate-nixpkgs) lib;
2828

2929
officialRelease = true;
3030

@@ -94,7 +94,7 @@
9494
crossSystem:
9595
forAllStdenvs (
9696
stdenv:
97-
import nixpkgs {
97+
import determinate-nixpkgs {
9898
localSystem = {
9999
inherit system;
100100
};
@@ -308,6 +308,7 @@
308308
self
309309
officialRelease
310310
;
311+
nixpkgs = determinate-nixpkgs;
311312
};
312313

313314
checks = forAllSystems (

0 commit comments

Comments
 (0)