diff options
author | tv <tv@krebsco.de> | 2021-06-02 01:34:03 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2021-06-02 02:43:38 +0200 |
commit | 7e045768bf86f31ecbfd5c5e5289d582632002a8 (patch) | |
tree | ade1faaebe12df2e0f08061c4ad8b19bb1ed0a66 | |
parent | 5b83edb2a526b35f4814d71701a52fe8bf0eff76 (diff) |
translate-shell: stdenv.lib -> lib
Deprecated since nixpkgs 21.05
-rw-r--r-- | krebs/5pkgs/simple/translate-shell/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/krebs/5pkgs/simple/translate-shell/default.nix b/krebs/5pkgs/simple/translate-shell/default.nix index 00ab226e5..cd698a2bd 100644 --- a/krebs/5pkgs/simple/translate-shell/default.nix +++ b/krebs/5pkgs/simple/translate-shell/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl,pkgs,... }: +{ fetchurl, lib, pkgs, stdenv }: let s = rec { @@ -8,7 +8,7 @@ let url=https://github.com/soimort/translate-shell/archive/v0.9.0.9.tar.gz; sha256="1269j4yr9dr1d8c5kmysbzfplbgdg8apqnzs5w57d29sd7gz2i34"; }; - searchpath = with pkgs; stdenv.lib.makeSearchPath "bin" [ + searchpath = with pkgs; lib.makeSearchPath "bin" [ fribidi gawk bash @@ -35,9 +35,9 @@ stdenv.mkDerivation { meta = { inherit (s) version; description = ''translate using google api''; - license = stdenv.lib.licenses.free; - maintainers = [stdenv.lib.maintainers.makefu]; - platforms = stdenv.lib.platforms.linux ; + license = lib.licenses.free; + maintainers = [ lib.maintainers.makefu ]; + platforms = lib.platforms.linux ; }; } |