netplan: 0.101 -> 0.103, fix package

This commit is contained in:
Maciej Krüger 2021-10-13 18:33:34 +02:00
parent f1220d72a3
commit 054d6d9486
No known key found for this signature in database
GPG key ID: 0D948CE19CF49C5F

View file

@ -13,13 +13,13 @@
stdenv.mkDerivation rec {
pname = "netplan";
version = "0.101";
version = "0.103";
src = fetchFromGitHub {
owner = "CanonicalLtd";
owner = "canonical";
repo = "netplan";
rev = version;
hash = "sha256-bCK7J2pCQUwjZu8c1n6jhF6T/gvUGwydqAXpxUMLgMc=";
hash = "sha256-d8Ze8S/w2nyJkATzLfizMqmr7ad2wrK1mjADClee6WE=";
fetchSubmodules = false;
};
@ -45,6 +45,9 @@ stdenv.mkDerivation rec {
substituteInPlace Makefile --replace 'SYSTEMD_GENERATOR_DIR=' 'SYSTEMD_GENERATOR_DIR ?= ' \
--replace 'SYSTEMD_UNIT_DIR=' 'SYSTEMD_UNIT_DIR ?= ' \
--replace 'BASH_COMPLETIONS_DIR=' 'BASH_COMPLETIONS_DIR ?= '
# from upstream https://github.com/canonical/netplan/blob/ee0d5df7b1dfbc3197865f02c724204b955e0e58/rpm/netplan.spec#L81
sed -e "s/-Werror//g" -i Makefile
'';
makeFlags = [