mc: move to by-name

This commit is contained in:
awwpotato
2025-05-10 21:09:45 -07:00
parent 42d2f64fc2
commit 0dca53864b
2 changed files with 3 additions and 7 deletions
@@ -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";
};
}
-4
View File
@@ -1528,10 +1528,6 @@ with pkgs;
inherit (libsForQt5) libqtpas wrapQtAppsHook;
};
mc = callPackage ../applications/file-managers/mc {
inherit (darwin) autoSignDarwinBinariesHook;
};
vifm-full = vifm.override {
mediaSupport = true;
inherit lib udisks2 python3;