crun: 0.10.6 -> 0.11

This commit is contained in:
zowoq 2020-01-16 15:45:59 +10:00
parent 588e1c61cb
commit f64bcd6cca

View file

@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "crun";
version = "0.10.6";
version = "0.11";
src = fetchFromGitHub {
owner = "containers";
repo = pname;
rev = version;
sha256 = "0v1hrlpnln0c976fb0k2ig4jv11qbyzf95z0wy92fd8r8in16rc1";
sha256 = "0mn64hrgx4a7mhqjxn127i8yivhn1grp93wws1da1ffj4ap6ay76";
fetchSubmodules = true;
};
@ -19,6 +19,14 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
preBuild = ''
cat > git-version.h <<EOF
#ifndef GIT_VERSION
# define GIT_VERSION "nixpkgs-${version}"
#endif
EOF
'';
# the tests require additional permissions
doCheck = false;