mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +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
|
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;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue