crun: 0.10.6 -> 0.11
This commit is contained in:
parent
588e1c61cb
commit
f64bcd6cca
@ -3,13 +3,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "crun";
|
pname = "crun";
|
||||||
version = "0.10.6";
|
version = "0.11";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "containers";
|
owner = "containers";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0v1hrlpnln0c976fb0k2ig4jv11qbyzf95z0wy92fd8r8in16rc1";
|
sha256 = "0mn64hrgx4a7mhqjxn127i8yivhn1grp93wws1da1ffj4ap6ay76";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -19,6 +19,14 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
cat > git-version.h <<EOF
|
||||||
|
#ifndef GIT_VERSION
|
||||||
|
# define GIT_VERSION "nixpkgs-${version}"
|
||||||
|
#endif
|
||||||
|
EOF
|
||||||
|
'';
|
||||||
|
|
||||||
# the tests require additional permissions
|
# the tests require additional permissions
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user