mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 13:08:39 +03:00
compton: use stub git function instead of patching
This commit is contained in:
parent
0658554ccc
commit
585d2d79a1
@ -89,10 +89,9 @@ let
|
||||
libxdg_basedir
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace meson.build \
|
||||
--replace "run_command('git', 'describe')" \
|
||||
"run_command('echo', 'v${version}')"
|
||||
preBuild = ''
|
||||
git() { echo "v${version}"; }
|
||||
export -f git
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-fno-strict-aliasing" ];
|
||||
|
Loading…
Reference in New Issue
Block a user