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
@@ -8,7 +8,7 @@
}:
let
isFuse3 = stdenv.lib.hasPrefix "3" version;
isFuse3 = lib.hasPrefix "3" version;
in stdenv.mkDerivation rec {
pname = "fuse";
inherit version;
@@ -23,7 +23,7 @@ in stdenv.mkDerivation rec {
preAutoreconf = "touch config.rpath";
patches =
stdenv.lib.optional
lib.optional
(!isFuse3 && stdenv.isAarch64)
(fetchpatch {
url = "https://github.com/libfuse/libfuse/commit/914871b20a901e3e1e981c92bc42b1c93b7ab81b.patch";
@@ -37,9 +37,9 @@ in stdenv.mkDerivation rec {
then [ meson ninja pkg-config ]
else [ autoreconfHook gettext ];
outputs = [ "out" ] ++ stdenv.lib.optional isFuse3 "common";
outputs = [ "out" ] ++ lib.optional isFuse3 "common";
mesonFlags = stdenv.lib.optionals isFuse3 [
mesonFlags = lib.optionals isFuse3 [
"-Dudevrulesdir=/udev/rules.d"
"-Duseroot=false"
];