diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-15 21:45:37 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-17 23:26:08 +0700 |
commit | 16d91ee628d781c721506b19e3e03bed810327e8 (patch) | |
tree | f65e50a70b4ff72314f384c6b29f4902b03f45f3 /pkgs/os-specific/linux/libcap-ng/default.nix | |
parent | 979e6e67d32a934dcc39dedfd588baf6e3f7ed78 (diff) | |
download | nixpkgs-16d91ee628d781c721506b19e3e03bed810327e8.tar nixpkgs-16d91ee628d781c721506b19e3e03bed810327e8.tar.gz nixpkgs-16d91ee628d781c721506b19e3e03bed810327e8.tar.bz2 nixpkgs-16d91ee628d781c721506b19e3e03bed810327e8.tar.lz nixpkgs-16d91ee628d781c721506b19e3e03bed810327e8.tar.xz nixpkgs-16d91ee628d781c721506b19e3e03bed810327e8.tar.zst nixpkgs-16d91ee628d781c721506b19e3e03bed810327e8.zip |
pkgs/os-specific: stdenv.lib -> lib
Diffstat (limited to 'pkgs/os-specific/linux/libcap-ng/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/libcap-ng/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/libcap-ng/default.nix b/pkgs/os-specific/linux/libcap-ng/default.nix index 27f4ddcce18..f8f9b5b80ba 100644 --- a/pkgs/os-specific/linux/libcap-ng/default.nix +++ b/pkgs/os-specific/linux/libcap-ng/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, swig ? null, python2 ? null, python3 ? null }: +{ lib, stdenv, fetchurl, swig ? null, python2 ? null, python3 ? null }: assert python2 != null || python3 != null -> swig != null; @@ -30,7 +30,7 @@ stdenv.mkDerivation rec { (if python3 != null then "--with-python3" else "--without-python3") ]; - meta = let inherit (stdenv.lib) platforms licenses; in { + meta = let inherit (lib) platforms licenses; in { description = "Library for working with POSIX capabilities"; homepage = "https://people.redhat.com/sgrubb/libcap-ng/"; platforms = platforms.linux; |