summaryrefslogtreecommitdiff
path: root/bragi/bar/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-03-14 01:50:56 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-03-14 01:50:56 +0100
commitddf14c42cb08b2086565ffe87089d6338451f560 (patch)
tree44e9e2d83a7b896c25c0d31e2a1fe0b1f7f23d65 /bragi/bar/default.nix
parent20710a50c845adaccbe21152df34860c0fc33dd8 (diff)
downloadnixos-ddf14c42cb08b2086565ffe87089d6338451f560.tar
nixos-ddf14c42cb08b2086565ffe87089d6338451f560.tar.gz
nixos-ddf14c42cb08b2086565ffe87089d6338451f560.tar.bz2
nixos-ddf14c42cb08b2086565ffe87089d6338451f560.tar.xz
nixos-ddf14c42cb08b2086565ffe87089d6338451f560.zip
Repoke
Diffstat (limited to 'bragi/bar/default.nix')
-rw-r--r--bragi/bar/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/bragi/bar/default.nix b/bragi/bar/default.nix
index 480e3ea3..bbfa170c 100644
--- a/bragi/bar/default.nix
+++ b/bragi/bar/default.nix
@@ -23,8 +23,11 @@ let
23 }; 23 };
24in stdenv.lib.overrideDerivation pkg (drv: { 24in stdenv.lib.overrideDerivation pkg (drv: {
25 postUnpack = '' 25 postUnpack = ''
26 rm -rf static/jquery.js static/webshim 26 (
27 ln -vs ${jquery}/js/jquery.js bar-*/static 27 cd bar-*/static
28 ln -vs ${webshim}/js bar-*/static/webshim 28 rm -rf jquery.js webshim
29 ln -vs ${jquery}/js/jquery.js .
30 ln -vs ${webshim}/js webshim
31 )
29 ''; 32 '';
30}) 33})