mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 11:07:36 +00:00
onefetch: fix build on darwin
This commit is contained in:
parent
4698895021
commit
66c7c0b178
@ -2,6 +2,7 @@
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, installShellFiles
|
||||
, pkg-config
|
||||
, zstd
|
||||
, stdenv
|
||||
@ -9,7 +10,6 @@
|
||||
, libresolv
|
||||
, Security
|
||||
, git
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -41,6 +41,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
preCheck = ''
|
||||
git init
|
||||
git config user.name nixbld
|
||||
git config user.email nixbld@example.com
|
||||
git add .
|
||||
git commit -m test
|
||||
|
Loading…
Reference in New Issue
Block a user