Skip to content

Commit 4e0e46d

Browse files
authored
chore(nix): back to github:-style flake inputs (#872)
2 parents 127b601 + 029f165 commit 4e0e46d

2 files changed

Lines changed: 60 additions & 39 deletions

File tree

‎flake.lock‎

Lines changed: 53 additions & 32 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 & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
description = "Hackworth Ltd Nix.";
33

44
inputs = {
5-
nixpkgs.url = "https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz";
5+
nixpkgs.url = "github:NixOS/nixpkgs";
66

7-
nix-darwin.url = "https://github.com/nix-darwin/nix-darwin/archive/master.tar.gz";
7+
nix-darwin.url = "github:nix-darwin/nix-darwin";
88
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
99

10-
flake-compat.url = "https://github.com/NixOS/flake-compat/archive/master.tar.gz";
10+
flake-compat.url = "github:NixOS/flake-compat";
1111
flake-compat.flake = false;
1212

13-
gitignore-nix.url = "https://github.com/hercules-ci/gitignore.nix/archive/master.tar.gz";
13+
gitignore-nix.url = "github:hercules-ci/gitignore.nix";
1414
gitignore-nix.flake = false;
1515

16-
treefmt-nix.url = "https://github.com/numtide/treefmt-nix/archive/main.tar.gz";
16+
treefmt-nix.url = "github:numtide/treefmt-nix";
1717
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
1818

19-
pre-commit-hooks-nix.url = "https://github.com/cachix/git-hooks.nix/archive/master.tar.gz";
19+
pre-commit-hooks-nix.url = "github:cachix/git-hooks.nix";
2020
pre-commit-hooks-nix.inputs.nixpkgs.follows = "nixpkgs";
2121

22-
flake-parts.url = "https://github.com/hercules-ci/flake-parts/archive/main.tar.gz";
22+
flake-parts.url = "github:hercules-ci/flake-parts";
2323
};
2424

2525
outputs =

0 commit comments

Comments
 (0)