aboutsummaryrefslogtreecommitdiff
path: root/pkgs/webapps/etherpad-lite/modules/ep_scrollto/node-packages.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-30 17:39:11 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-30 17:39:11 +0200
commitf0d942ac060bf350dfd0b6babbada69f0671d6bf (patch)
treecab86e71b9a19aeb3c2f025467b5d5c9c6ec85a4 /pkgs/webapps/etherpad-lite/modules/ep_scrollto/node-packages.nix
parent840812f2980b77ea93e74666f80a7e0fe5b633eb (diff)
downloadNix-f0d942ac060bf350dfd0b6babbada69f0671d6bf.tar.gz
Nix-f0d942ac060bf350dfd0b6babbada69f0671d6bf.tar.zst
Nix-f0d942ac060bf350dfd0b6babbada69f0671d6bf.zip
Add mypads to etherpad
Diffstat (limited to 'pkgs/webapps/etherpad-lite/modules/ep_scrollto/node-packages.nix')
-rw-r--r--pkgs/webapps/etherpad-lite/modules/ep_scrollto/node-packages.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/webapps/etherpad-lite/modules/ep_scrollto/node-packages.nix b/pkgs/webapps/etherpad-lite/modules/ep_scrollto/node-packages.nix
index b584d43..8f7656f 100644
--- a/pkgs/webapps/etherpad-lite/modules/ep_scrollto/node-packages.nix
+++ b/pkgs/webapps/etherpad-lite/modules/ep_scrollto/node-packages.nix
@@ -15,6 +15,9 @@ in
15 sha512 = "uUfpiUWO0xLhN2R89jMPUYD+vhyiPyH6b8QL7y+0bKiOYOqf9l/rgXwTLuf4iB3p0J1/oVXhgSkG0dlZ35bUWw=="; 15 sha512 = "uUfpiUWO0xLhN2R89jMPUYD+vhyiPyH6b8QL7y+0bKiOYOqf9l/rgXwTLuf4iB3p0J1/oVXhgSkG0dlZ35bUWw==";
16 }; 16 };
17 buildInputs = globalBuildInputs; 17 buildInputs = globalBuildInputs;
18 preRebuild = ''
19 sed -i -e "s/is_old_ie = browser.msie.*$/is_old_ie = false;/" static/js/postAceInit.js
20 '';
18 meta = { 21 meta = {
19 description = "Scroll to a specific line number based on a parameter of lineNumber in the URL IE http://test.com/p/foo#lineNumber=10 -- Users can click on the line number to get a link"; 22 description = "Scroll to a specific line number based on a parameter of lineNumber in the URL IE http://test.com/p/foo#lineNumber=10 -- Users can click on the line number to get a link";
20 homepage = "https://github.com/johnmclear/ep_scrollto#readme"; 23 homepage = "https://github.com/johnmclear/ep_scrollto#readme";
@@ -23,4 +26,4 @@ in
23 bypassCache = true; 26 bypassCache = true;
24 reconstructLock = true; 27 reconstructLock = true;
25 }; 28 };
26} \ No newline at end of file 29}