forked from mirrors/nixpkgs
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 a new issue