summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/novnc/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-12-04 21:24:48 +0100
committermakefu <github@syntax-fehler.de>2021-12-04 21:24:48 +0100
commit7ca789f598c856ceda3ac55d028ab5a8a8a1e6a2 (patch)
tree9793b82947801f39f55b393cd02951c25de26099 /makefu/5pkgs/novnc/default.nix
parent4f500d5006b9a1594589b60278515220ed4b75da (diff)
ma pkgs: stdenv.lib -> lib
Diffstat (limited to 'makefu/5pkgs/novnc/default.nix')
-rw-r--r--makefu/5pkgs/novnc/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/makefu/5pkgs/novnc/default.nix b/makefu/5pkgs/novnc/default.nix
index 7da8e9be1..b3b5ed0d4 100644
--- a/makefu/5pkgs/novnc/default.nix
+++ b/makefu/5pkgs/novnc/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgs }:
+{ stdenv, lib, fetchurl, pkgs }:
# source: https://github.com/hyphon81/Nixtack/blob/master/noVNC/noVNC.nix
let
in
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
url = "https://github.com/novnc/noVNC/archive/v${version}.tar.gz";
sha256 = "16ygbdzdmnfg9a26d9il4a6fr16qmq0ix9imfbpzl0drfbj7z8kh";
};
- p = stdenv.lib.makeBinPath [ pkgs.nettools pkgs.python27Packages.websockify
+ p = lib.makeBinPath [ pkgs.nettools pkgs.python27Packages.websockify
pkgs.coreutils pkgs.which pkgs.procps ];
patchPhase = ''
sed -i '1aset -efu\nexport PATH=${p}\n' utils/launch.sh
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
cp vnc_auto.html $out
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = http://novnc.com/info.html;
repositories.git = git://github.com/novnc/noVNC.git;
description = ''