pkgs/os-specific: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-17 23:26:08 +07:00
parent 979e6e67d3
commit 16d91ee628
212 changed files with 597 additions and 599 deletions
+4 -4
View File
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, intltool, ntfs3g, util-linux
{ lib, stdenv, fetchurl, intltool, ntfs3g, util-linux
, mediaDir ? "/media/"
, lockDir ? "/var/lock/pmount"
, whiteList ? "/etc/pmount.allow"
}:
# constraint mention in the configure.ac
assert stdenv.lib.hasSuffix "/" mediaDir;
assert lib.hasSuffix "/" mediaDir;
stdenv.mkDerivation rec {
pname = "pmount";
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://bazaar.launchpad.net/~fourmond/pmount/main/files";
description = "Mount removable devices as normal user";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
};
}