Skip to content

Commit

Permalink
crun: 0.10.6 -> 0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
zowoq committed Jan 16, 2020
1 parent 588e1c6 commit f64bcd6
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions pkgs/applications/virtualization/crun/default.nix
Expand Up @@ -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;
};

Expand All @@ -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;

Expand Down

0 comments on commit f64bcd6

Please sign in to comment.