Skip to content

Commit

Permalink
generate assets in postPatch instead of prePatch
Browse files Browse the repository at this point in the history
This lets changes to /data/* in the `patches` attribute work.
  • Loading branch information
bb010g committed Mar 2, 2020
1 parent 0630d6b commit 09b6685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix-packaging/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ buildGoPackage rec {
main.version=${version}
'';

prePatch = ''
postPatch = ''
go-bindata -pkg assets -o assets/assets.go data/
'';

Expand Down

0 comments on commit 09b6685

Please sign in to comment.