Skip to content

Commit 210bb12

Browse files
make: add nixpkgs/update
1 parent 5785e1a commit 210bb12

File tree

6 files changed

+17
-10
lines changed

6 files changed

+17
-10
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
nixpkgs/update:
2+
@nix flake lock --override-input nixpkgs github:NixOS/nixpkgs/$(rev)

template/elm/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
nixpkgs/update:
2+
@nix flake lock --override-input nixpkgs github:NixOS/nixpkgs/$(rev)
3+
14
.PHONY: build test run clean
25

36
run:
47
@elm reactor
5-
nixpkgs/update:
6-
@nix flake lock --override-input nixpkgs github:NixOS/nixpkgs/$(rev)

template/gleam/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
nixpkgs/update:
2+
@nix flake lock --override-input nixpkgs github:NixOS/nixpkgs/$(rev)
3+
14
.PHONY: build test run clean
25

36
build:
@@ -6,5 +9,3 @@ run:
69
@gleam run
710
clean:
811
@gleam clean
9-
nixpkgs/update:
10-
@nix flake lock --override-input nixpkgs github:NixOS/nixpkgs/$(rev)

template/go/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
nixpkgs/update:
2+
@nix flake lock --override-input nixpkgs github:NixOS/nixpkgs/$(rev)
3+
14
.PHONY: build test run clean
25

36
test:
47
@go test -cover ./...
58
run:
69
@go run main.go
7-
nixpkgs/update:
8-
@nix flake lock --override-input nixpkgs github:NixOS/nixpkgs/$(rev)

template/java/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
nixpkgs/update:
2+
@nix flake lock --override-input nixpkgs github:NixOS/nixpkgs/$(rev)
3+
14
.PHONY: build test run clean
25

36
test:
47
@mvn clean test
58
run:
69
@mvn -e -q clean compile exec:java
7-
nixpkgs/update:
8-
@nix flake lock --override-input nixpkgs github:NixOS/nixpkgs/$(rev)

template/zig/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
nixpkgs/update:
2+
@nix flake lock --override-input nixpkgs github:NixOS/nixpkgs/$(rev)
3+
14
.PHONY: build test run clean
25

36
test:
47
@zig build test
58
run:
69
@zig build run
7-
nixpkgs/update:
8-
@nix flake lock --override-input nixpkgs github:NixOS/nixpkgs/$(rev)

0 commit comments

Comments
 (0)