compton: use stub git function instead of patching
This commit is contained in:
parent
0658554ccc
commit
585d2d79a1
@ -89,10 +89,9 @@ let
|
|||||||
libxdg_basedir
|
libxdg_basedir
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
preBuild = ''
|
||||||
substituteInPlace meson.build \
|
git() { echo "v${version}"; }
|
||||||
--replace "run_command('git', 'describe')" \
|
export -f git
|
||||||
"run_command('echo', 'v${version}')"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [ "-fno-strict-aliasing" ];
|
NIX_CFLAGS_COMPILE = [ "-fno-strict-aliasing" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user