mirror of
https://git.nickiel.net/Nickiel/nicks_nextcloud_integrations.git
synced 2025-04-04 12:26:12 -07:00
Rearrange sed replacement
This commit is contained in:
parent
a33598f0d4
commit
828d09b98a
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ rust-project TODO: write shell script for automatically updating `cargoHash`
|
||||||
buildAndTestSubdir = "status_cloud";
|
buildAndTestSubdir = "status_cloud";
|
||||||
cargoHash = "sha256-mMxHI/rU1Gd5UR+hZ+5+FnBrff8uF+SrEvGJT7wh5tI=";
|
cargoHash = "sha256-mMxHI/rU1Gd5UR+hZ+5+FnBrff8uF+SrEvGJT7wh5tI=";
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
sed -i 's/Command::new("hddtemp")/${nixpkgs.lib.escape [ "/" ] "Command::new(\"${pkgs.hddtemp}\")"}/g' status_cloud/src/main.rs
|
sed -i 's/Command::new("hddtemp")/Command::new("${nixpkgs.lib.escape [ "/" ] "${pkgs.hddtemp}"}")/g' status_cloud/src/main.rs
|
||||||
'';
|
'';
|
||||||
meta = meta // {
|
meta = meta // {
|
||||||
description = "Server status saved to a nextcloud note service.";
|
description = "Server status saved to a nextcloud note service.";
|
||||||
|
|
Loading…
Add table
Reference in a new issue