pkgs/applications/file-managers: move to by-name (#406053)

This commit is contained in:
Pol Dellaiera
2025-05-11 07:12:05 +00:00
committed by GitHub
4 changed files with 8 additions and 23 deletions
@@ -3,17 +3,8 @@
stdenv,
fetchurl,
extra-cmake-modules,
kdoctools,
karchive,
kconfig,
kcrash,
kguiaddons,
kparts,
kwindowsystem,
cmake,
wrapQtAppsHook,
qt5compat,
kstatusnotifieritem,
kdePackages,
}:
stdenv.mkDerivation rec {
@@ -28,11 +19,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
extra-cmake-modules
kdoctools
wrapQtAppsHook
kdePackages.kdoctools
kdePackages.wrapQtAppsHook
];
propagatedBuildInputs = [
propagatedBuildInputs = with kdePackages; [
karchive
kconfig
kcrash
@@ -17,7 +17,7 @@
libssh2,
openssl,
coreutils,
autoSignDarwinBinariesHook,
darwin,
x11Support ? true,
libX11,
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
# The preFixup hook rewrites the binary, which invaliates the code
# signature. Add the fixup hook to sign the output.
++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [
autoSignDarwinBinariesHook
darwin.autoSignDarwinBinariesHook
];
buildInputs =
@@ -104,7 +104,7 @@ stdenv.mkDerivation rec {
homepage = "https://midnight-commander.org";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ sander ];
platforms = with platforms; linux ++ darwin;
platforms = platforms.linux ++ platforms.darwin;
mainProgram = "mc";
};
}
+1 -7
View File
@@ -1528,18 +1528,12 @@ with pkgs;
inherit (libsForQt5) libqtpas wrapQtAppsHook;
};
krusader = kdePackages.callPackage ../applications/file-managers/krusader { };
mc = callPackage ../applications/file-managers/mc {
inherit (darwin) autoSignDarwinBinariesHook;
};
vifm-full = vifm.override {
mediaSupport = true;
inherit lib udisks2 python3;
};
xfe = callPackage ../applications/file-managers/xfe {
xfe = callPackage ../by-name/xf/xfe/package.nix {
fox = fox_1_6;
};