mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
pizauth: fix systemd units substitutions
Should have been part of 4b0398fd2c.
This commit is contained in:
parent
3438114c15
commit
49091d78a4
1 changed files with 5 additions and 0 deletions
|
|
@ -19,6 +19,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
|
||||
cargoHash = "sha256-9cDVbDCb8vY6KxreyiMX3gp13bXZpxTQOwYbk6TEVpc=";
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace lib/systemd/user/pizauth.service \
|
||||
--replace-fail /usr/bin/ ''${!outputBin}/bin/
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
make PREFIX=$out install ${lib.optionalString stdenv.hostPlatform.isLinux "install-systemd"}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue