pkgs/os-specific: stdenv.lib -> lib
This commit is contained in:
@@ -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"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user