mirror of
https://github.com/nix-community/nurl.git
synced 2024-09-17 13:27:21 +03:00
flake: fix darwin build
This commit is contained in:
parent
7d16f88e0c
commit
6d07a44504
@ -6,7 +6,7 @@
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
inherit (nixpkgs.lib)
|
||||
genAttrs importTOML licenses makeBinPath maintainers;
|
||||
genAttrs importTOML licenses makeBinPath maintainers optionals;
|
||||
inherit (importTOML (self + "/Cargo.toml")) package;
|
||||
|
||||
forEachSystem = genAttrs [
|
||||
@ -28,7 +28,7 @@
|
||||
packages = forEachSystem (system:
|
||||
let
|
||||
inherit (nixpkgs.legacyPackages.${system})
|
||||
gitMinimal installShellFiles makeWrapper mercurial nix rustPlatform;
|
||||
darwin gitMinimal installShellFiles makeWrapper mercurial nix rustPlatform stdenv;
|
||||
in
|
||||
{
|
||||
default = rustPlatform.buildRustPackage {
|
||||
@ -44,6 +44,10 @@
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
# tests require internet access
|
||||
doCheck = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user