1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-10 20:46:01 +01:00

Use FlakeHub inputs

This commit is contained in:
Luc Perkins 2025-06-04 23:04:13 -07:00
parent e98cad60b2
commit 268bef8cdf
No known key found for this signature in database
GPG key ID: C86EE5D85EE4DDA5
2 changed files with 27 additions and 34 deletions

55
flake.lock generated
View file

@ -23,17 +23,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1733312601, "lastModified": 1748821116,
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=", "narHash": "sha256-F82+gS044J1APL0n4hH50GYdPRv/5JWm34oCJYmVKdE=",
"owner": "hercules-ci", "rev": "49f0870db23e8c1ca0b5259734a02cd9e1e371a1",
"repo": "flake-parts", "revCount": 377,
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9", "type": "tarball",
"type": "github" "url": "https://api.flakehub.com/f/pinned/hercules-ci/flake-parts/0.1.377%2Brev-49f0870db23e8c1ca0b5259734a02cd9e1e371a1/01972f28-554a-73f8-91f4-d488cc502f08/source.tar.gz"
}, },
"original": { "original": {
"owner": "hercules-ci", "type": "tarball",
"repo": "flake-parts", "url": "https://flakehub.com/f/hercules-ci/flake-parts/0.1"
"type": "github"
} }
}, },
"git-hooks-nix": { "git-hooks-nix": {
@ -42,39 +41,33 @@
"gitignore": [], "gitignore": [],
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
],
"nixpkgs-stable": [
"nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1734279981, "lastModified": 1747372754,
"narHash": "sha256-NdaCraHPp8iYMWzdXAt5Nv6sA3MUzlCiGiR586TCwo0=", "narHash": "sha256-2Y53NGIX2vxfie1rOW0Qb86vjRZ7ngizoo+bnXU9D9k=",
"owner": "cachix", "rev": "80479b6ec16fefd9c1db3ea13aeb038c60530f46",
"repo": "git-hooks.nix", "revCount": 1026,
"rev": "aa9f40c906904ebd83da78e7f328cd8aeaeae785", "type": "tarball",
"type": "github" "url": "https://api.flakehub.com/f/pinned/cachix/git-hooks.nix/0.1.1026%2Brev-80479b6ec16fefd9c1db3ea13aeb038c60530f46/0196d79a-1b35-7b8e-a021-c894fb62163d/source.tar.gz"
}, },
"original": { "original": {
"owner": "cachix", "type": "tarball",
"repo": "git-hooks.nix", "url": "https://flakehub.com/f/cachix/git-hooks.nix/0.1"
"type": "github"
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1747179050, "lastModified": 1748929857,
"narHash": "sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY=", "narHash": "sha256-lcZQ8RhsmhsK8u7LIFsJhsLh/pzR9yZ8yqpTzyGdj+Q=",
"owner": "NixOS", "rev": "c2a03962b8e24e669fb37b7df10e7c79531ff1a4",
"repo": "nixpkgs", "revCount": 810143,
"rev": "adaa24fbf46737f3f1b5497bf64bae750f82942e", "type": "tarball",
"type": "github" "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.810143%2Brev-c2a03962b8e24e669fb37b7df10e7c79531ff1a4/01973914-8b42-7168-9ee2-4d6ea6946695/source.tar.gz"
}, },
"original": { "original": {
"owner": "NixOS", "type": "tarball",
"ref": "nixos-unstable", "url": "https://flakehub.com/f/NixOS/nixpkgs/0.1"
"repo": "nixpkgs",
"type": "github"
} }
}, },
"nixpkgs-23-11": { "nixpkgs-23-11": {

View file

@ -1,14 +1,14 @@
{ {
description = "The purely functional package manager"; description = "The purely functional package manager";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1";
inputs.nixpkgs-regression.url = "github:NixOS/nixpkgs/215d4d0fd80ca5163643b03a33fde804a29cc1e2"; inputs.nixpkgs-regression.url = "github:NixOS/nixpkgs/215d4d0fd80ca5163643b03a33fde804a29cc1e2";
inputs.nixpkgs-23-11.url = "github:NixOS/nixpkgs/a62e6edd6d5e1fa0329b8653c801147986f8d446"; inputs.nixpkgs-23-11.url = "github:NixOS/nixpkgs/a62e6edd6d5e1fa0329b8653c801147986f8d446";
# dev tooling # dev tooling
inputs.flake-parts.url = "github:hercules-ci/flake-parts"; inputs.flake-parts.url = "https://flakehub.com/f/hercules-ci/flake-parts/0.1";
inputs.git-hooks-nix.url = "github:cachix/git-hooks.nix"; inputs.git-hooks-nix.url = "https://flakehub.com/f/cachix/git-hooks.nix/0.1";
# work around https://github.com/NixOS/nix/issues/7730 # work around https://github.com/NixOS/nix/issues/7730
inputs.flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs"; inputs.flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
inputs.git-hooks-nix.inputs.nixpkgs.follows = "nixpkgs"; inputs.git-hooks-nix.inputs.nixpkgs.follows = "nixpkgs";