about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorBob van der Linden <bobvanderlinden@gmail.com>2015-06-19 23:19:00 +0200
committerBob van der Linden <bobvanderlinden@gmail.com>2015-06-19 23:22:18 +0200
commite315d0599df1ba01a4bc9edbc1197a2544058d49 (patch)
treead883be4888d92e731ff0e8806683efec1fa153c /pkgs/applications/video
parentf2f0d98e53d6960610b2d811a8a364e7fa235417 (diff)
popcorntime: allow different versions of node_webkit
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/popcorntime/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/applications/video/popcorntime/default.nix b/pkgs/applications/video/popcorntime/default.nix
index 8d294325a9160..ab22a30d866a5 100644
--- a/pkgs/applications/video/popcorntime/default.nix
+++ b/pkgs/applications/video/popcorntime/default.nix
@@ -1,8 +1,7 @@
-{ stdenv, pkgs, fetchurl, runCommand, makeWrapper, node_webkit_0_9
+{ stdenv, pkgs, fetchurl, runCommand, makeWrapper, node_webkit ? pkgs.node_webkit_0_9
 }:
 
 let
-  node-webkit = node_webkit_0_9;
   version = "0.3.7.2";
 
   srcs = {
@@ -23,7 +22,7 @@ let
     installPhase = ''
       mkdir -p $out
       cp -r *.so *.pak $out/
-      cat ${node-webkit}/bin/nw package.nw > $out/Popcorn-Time
+      cat ${node_webkit}/bin/nw package.nw > $out/Popcorn-Time
       chmod 555 $out/Popcorn-Time
     '';
   };