Skip to content

Commit a5ecf84

Browse files
committed
omnom: install addons in postInstall
1 parent 57177df commit a5ecf84

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pkgs/by-name/om/omnom/package.nix

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,12 @@ buildGoModule (finalAttrs: {
3434
"-w"
3535
];
3636

37-
postBuild = ''
37+
postInstall = ''
3838
mkdir -p $out/share/addons
3939
4040
# Copy Firefox and Chrome addons
4141
cp -r ${finalAttrs.passthru.omnom-addons}/*.zip $out/share/addons
42-
'';
4342
44-
postInstall = ''
4543
mkdir -p $out/share/examples
4644
4745
cp -r static templates $out/share

0 commit comments

Comments
 (0)