Skip to content

Commit fef711b

Browse files
committed
Add Buildkite pipeline for updating hackage.nix and stackage.nix
1 parent 7446d04 commit fef711b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.buildkite/updates.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
steps:
2+
- label: 'Update hackage.nix'
3+
command:
4+
- nix-build -A maintainer-scripts.update-hackage -o update-hackage.sh
5+
- echo "+++ Updating hackage.nix"
6+
- ./update-hackage.sh
7+
env:
8+
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz"
9+
agents:
10+
system: x86_64-linux
11+
12+
- label: 'Update stackage.nix'
13+
command:
14+
- nix-build -A maintainer-scripts.update-stackage -o update-stackage.sh
15+
- echo "+++ Updating stackage.nix"
16+
- ./update-stackage.sh
17+
env:
18+
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz"
19+
agents:
20+
system: x86_64-linux

0 commit comments

Comments
 (0)