mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
age-plugin-se: build on linux as well
This commit is contained in:
parent
97bf468a8f
commit
9cb693202e
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue