Skip to content

Commit 661a079

Browse files
committed
Try to make build reproducible for my rpi
1 parent a3a34e4 commit 661a079

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/updatecache.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
with:
2121
name: jhgarner-projects
2222
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
23-
- run: nix-build --argstr system ${{ matrix.system }}
23+
- run: nix-build --argstr system ${{ matrix.system }} -o result
2424
env:
2525
NIXPKGS_ALLOW_BROKEN: 1
26+
- run: cachix push jhgarner-projects result

app.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
mkDerivation {
88
pname = "DailyReporter";
99
version = "0.1.0.0";
10-
src = ./.;
10+
src = lib.cleanSource ./.;
1111
isLibrary = true;
1212
isExecutable = true;
1313
libraryHaskellDepends = [

0 commit comments

Comments
 (0)