mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
scx.cscheds: patch build_bpftool meson script explicitly
Turns out ./patchShebangs wasn't doing its job properly.
This was verified after running `patchShebangs ./meson-scripts`
and then `cat ./meson-scripts/build_bpftool`
(cherry picked from commit 0b14bcb362)
This commit is contained in:
@@ -56,8 +56,8 @@ llvmPackages.stdenv.mkDerivation (finalAttrs: {
|
||||
patchShebangs ./meson-scripts
|
||||
cp ${finalAttrs.fetchBpftool} meson-scripts/fetch_bpftool
|
||||
cp ${finalAttrs.fetchLibbpf} meson-scripts/fetch_libbpf
|
||||
substituteInPlace meson.build \
|
||||
--replace-fail '[build_bpftool' "['${lib.getExe bash}', build_bpftool"
|
||||
substituteInPlace ./meson-scripts/build_bpftool \
|
||||
--replace-fail '/bin/bash' '${lib.getExe bash}'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user