mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Merge pull request #179443 from B4dM4n/openiscsi-fix-service
openiscsi: fix systemd service location
This commit is contained in:
commit
f3f952c338
1 changed files with 2 additions and 3 deletions
|
@ -22,8 +22,6 @@ stdenv.mkDerivation rec {
|
|||
NIX_CFLAGS_COMPILE = "-DUSE_KMOD";
|
||||
|
||||
preConfigure = ''
|
||||
sed -i 's|/usr|/|' Makefile
|
||||
|
||||
# Remove blanket -Werror. Fails for minor error on gcc-11.
|
||||
substituteInPlace usr/Makefile --replace ' -Werror ' ' '
|
||||
'';
|
||||
|
@ -32,11 +30,12 @@ stdenv.mkDerivation rec {
|
|||
makeFlags = [
|
||||
"INSTALL=install"
|
||||
"SED=sed"
|
||||
"prefix=/"
|
||||
"manprefix=/share"
|
||||
];
|
||||
|
||||
installFlags = [
|
||||
"install"
|
||||
"install_systemd"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
|
|
Loading…
Reference in a new issue