Unverified Commit 25e832c7 authored by Ramses's avatar Ramses Committed by GitHub
Browse files

age-plugin-se: build on linux (#401265)

parents ccedfe3d 9cb69320
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -25,6 +25,9 @@ stdenv.mkDerivation (finalAttrs: {
    swiftpm
  ];

  # Can't find libdispatch without this on NixOS. (swift 5.8)
  LD_LIBRARY_PATH = lib.optionalString stdenv.isLinux "${swiftPackages.Dispatch}/lib";

  postPatch =
    let
      swift-crypto = fetchFromGitHub {
@@ -58,6 +61,6 @@ stdenv.mkDerivation (finalAttrs: {
      remko
    ];
    mainProgram = "age-plugin-se";
    platforms = lib.platforms.darwin;
    platforms = lib.platforms.unix;
  };
})