age-plugin-se: build on linux as well

This commit is contained in:
phaer 2025-04-24 01:42:33 +02:00
parent 97bf468a8f
commit 9cb693202e

View file

@ -25,6 +25,9 @@ stdenv.mkDerivation (finalAttrs: {
swiftpm swiftpm
]; ];
# Can't find libdispatch without this on NixOS. (swift 5.8)
LD_LIBRARY_PATH = lib.optionalString stdenv.isLinux "${swiftPackages.Dispatch}/lib";
postPatch = postPatch =
let let
swift-crypto = fetchFromGitHub { swift-crypto = fetchFromGitHub {
@ -58,6 +61,6 @@ stdenv.mkDerivation (finalAttrs: {
remko remko
]; ];
mainProgram = "age-plugin-se"; mainProgram = "age-plugin-se";
platforms = lib.platforms.darwin; platforms = lib.platforms.unix;
}; };
}) })