mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
qman: use patchShebangs
This commit is contained in:
parent
4e3b9ed8cc
commit
82bd6b0236
1 changed files with 1 additions and 3 deletions
|
|
@ -2,7 +2,6 @@
|
|||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
runtimeShell,
|
||||
man-db,
|
||||
groff,
|
||||
xdg-utils,
|
||||
|
|
@ -34,8 +33,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/qman_tests_list.sh \
|
||||
--replace-fail "/usr/bin/env bash" ${runtimeShell}
|
||||
patchShebangs --build src/qman_tests_list.sh
|
||||
substituteInPlace src/config_def.py \
|
||||
--replace-fail "/usr/bin/man" ${man-db}/bin/man \
|
||||
--replace-fail "/usr/bin/groff" ${groff}/bin/groff \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue