diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-15 12:42:41 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-15 14:24:03 +0700 |
commit | 108bdac3d99b6d94d3740422af5945e510238304 (patch) | |
tree | dd91cf11f7c29bbd4542f5bdab986430025c02e2 /pkgs/applications/misc/electrum/default.nix | |
parent | 2e34288f0d8cf01eea228c7dbc50af9589b885f3 (diff) | |
download | nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar.gz nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar.bz2 nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar.lz nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar.xz nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar.zst nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.zip |
pkgs/applications: stdenv.lib -> lib
Diffstat (limited to 'pkgs/applications/misc/electrum/default.nix')
-rw-r--r-- | pkgs/applications/misc/electrum/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/misc/electrum/default.nix b/pkgs/applications/misc/electrum/default.nix index 215aa3dd5f2..5a3e6265c25 100644 --- a/pkgs/applications/misc/electrum/default.nix +++ b/pkgs/applications/misc/electrum/default.nix @@ -58,7 +58,7 @@ python3.pkgs.buildPythonApplication { cp -ar ${tests} $sourceRoot/electrum/tests ''; - nativeBuildInputs = stdenv.lib.optionals enableQt [ wrapQtAppsHook ]; + nativeBuildInputs = lib.optionals enableQt [ wrapQtAppsHook ]; propagatedBuildInputs = with python3.pkgs; [ aiohttp @@ -81,7 +81,7 @@ python3.pkgs.buildPythonApplication { keepkey trezor btchip - ] ++ stdenv.lib.optionals enableQt [ pyqt5 qdarkstyle ]; + ] ++ lib.optionals enableQt [ pyqt5 qdarkstyle ]; preBuild = '' sed -i 's,usr_share = .*,usr_share = "'$out'/share",g' setup.py @@ -94,7 +94,7 @@ python3.pkgs.buildPythonApplication { sed -i '/qdarkstyle/d' contrib/requirements/requirements.txt ''); - postInstall = stdenv.lib.optionalString stdenv.isLinux '' + postInstall = lib.optionalString stdenv.isLinux '' # Despite setting usr_share above, these files are installed under # $out/nix ... mv $out/${python3.sitePackages}/nix/store"/"*/share $out @@ -108,7 +108,7 @@ python3.pkgs.buildPythonApplication { ''; - postFixup = stdenv.lib.optionalString enableQt '' + postFixup = lib.optionalString enableQt '' wrapQtApp $out/bin/electrum ''; |