Skip to content

Commit 5567a21

Browse files
Use nix-fast-build from nixpkgs
Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
1 parent 0b9284d commit 5567a21

File tree

5 files changed

+2
-48
lines changed

5 files changed

+2
-48
lines changed

flake.lock

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

flake.nix

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,6 @@
7474
flake = false;
7575
};
7676

77-
nix-fast-build = {
78-
url = "github:Mic92/nix-fast-build";
79-
inputs = {
80-
flake-parts.follows = "flake-parts";
81-
nixpkgs.follows = "nixpkgs";
82-
treefmt-nix.follows = "treefmt-nix";
83-
};
84-
};
85-
8677
# Dependencies used by other inputs
8778
systems.url = "github:nix-systems/default";
8879
devshell = {

nix/treefmt.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
perSystem =
1010
{ config, pkgs, ... }:
1111
{
12-
treefmt.config = {
12+
treefmt = {
1313
inherit (config.flake-root) projectRootFile;
1414

1515
programs = {

templates/boilerplate/flake.nix

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,6 @@
5353
flake = false;
5454
};
5555

56-
nix-fast-build = {
57-
url = "github:Mic92/nix-fast-build";
58-
inputs = {
59-
flake-parts.follows = "flake-parts";
60-
nixpkgs.follows = "nixpkgs";
61-
treefmt-nix.follows = "treefmt-nix";
62-
};
63-
};
64-
6556
# Dependencies used by other inputs
6657
systems.url = "github:nix-systems/default";
6758
devshell = {

templates/boilerplate/nix/devshell.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
perSystem =
66
{
77
pkgs,
8-
inputs',
98
lib,
109
...
1110
}:
@@ -25,9 +24,9 @@
2524
nix-tree
2625
reuse
2726
statix
27+
nix-fast-build
2828
;
2929
}
30-
++ [ inputs'.nix-fast-build.packages.default ]
3130
++ lib.optional (pkgs.hostPlatform.system != "riscv64-linux") pkgs.cachix;
3231
};
3332
};

0 commit comments

Comments
 (0)