nixci: 0.2.0 -> 0.4.0; fix Darwin build
https://github.com/srid/nixci/releases/tag/0.4.0 Add SystemConfiguration and IOKit from apple_sdk to fix the darwin build failure
This commit is contained in:
parent
9d50a5b0d8
commit
5efa13b4a4
|
@ -6,23 +6,31 @@
|
||||||
, openssl
|
, openssl
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, Security
|
, Security
|
||||||
|
, SystemConfiguration
|
||||||
|
, IOKit
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "nixci";
|
pname = "nixci";
|
||||||
version = "0.2.0";
|
version = "0.4.0";
|
||||||
|
|
||||||
src = fetchCrate {
|
src = fetchCrate {
|
||||||
inherit version;
|
inherit version;
|
||||||
pname = "nixci";
|
pname = "nixci";
|
||||||
hash = "sha256-Q3V/JL64xkIj0X0NSMRTjRAP3PJC9ouj3CmEscVWdns=";
|
hash = "sha256-JC1LUny8UKflANlcx6Hcgx39CRry+ossnp/RQK36oaI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-tjk91AaPsMLfXYB2o1HTTxb6Qr3l8BABPStrKEGvbtM=";
|
cargoHash = "sha256-pYPzM7QlQ2EXwrvuXMa1qs0m7cmumh1iPesgJZ0H2kg=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ libiconv openssl ]
|
|
||||||
++ lib.optionals stdenv.isDarwin [ Security ];
|
buildInputs = lib.optionals stdenv.isLinux [
|
||||||
|
openssl
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
IOKit
|
||||||
|
Security
|
||||||
|
SystemConfiguration
|
||||||
|
];
|
||||||
|
|
||||||
# The rust program expects an environment (at build time) that points to the
|
# The rust program expects an environment (at build time) that points to the
|
||||||
# devour-flake flake.
|
# devour-flake flake.
|
||||||
|
@ -37,7 +45,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
description = "Define and build CI for Nix projects anywhere";
|
description = "Define and build CI for Nix projects anywhere";
|
||||||
homepage = "https://github.com/srid/nixci";
|
homepage = "https://github.com/srid/nixci";
|
||||||
license = licenses.agpl3Only;
|
license = licenses.agpl3Only;
|
||||||
maintainers = with maintainers; [ srid ];
|
maintainers = with maintainers; [ srid shivaraj-bh ];
|
||||||
mainProgram = "nixci";
|
mainProgram = "nixci";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -40055,7 +40055,7 @@ with pkgs;
|
||||||
alejandra = callPackage ../tools/nix/alejandra { };
|
alejandra = callPackage ../tools/nix/alejandra { };
|
||||||
|
|
||||||
nixci = callPackage ../tools/nix/nixci {
|
nixci = callPackage ../tools/nix/nixci {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration IOKit;
|
||||||
};
|
};
|
||||||
|
|
||||||
nixfmt-classic = haskellPackages.nixfmt.bin;
|
nixfmt-classic = haskellPackages.nixfmt.bin;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user