Remove executable bit for redlib.service
`systemd` constantly throws the following warnings because the `redlib.service` file is copied into the Nix store with executable permissions: `Configuration file /nix/store/<redlib>/lib/systemd/system/redlib.service is marked executable. Please remove executable permission bits. Proceeding anyway.`
This commit is contained in:
@@ -21,7 +21,7 @@ rustPlatform.buildRustPackage {
|
||||
cargoHash = "sha256-L35VSQdIbKGGsBPU2Sj/MoYohy1ZibgZ+7NVa3yNjH8=";
|
||||
|
||||
postInstall = ''
|
||||
install -D contrib/redlib.service $out/lib/systemd/system/redlib.service
|
||||
install --mode=444 -D contrib/redlib.service $out/lib/systemd/system/redlib.service
|
||||
substituteInPlace $out/lib/systemd/system/redlib.service \
|
||||
--replace-fail "/usr/bin/redlib" "$out/bin/redlib"
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user