Skip to content

Commit

Permalink
Update nixos/modules/services/system/swapspace.nix
Browse files Browse the repository at this point in the history
Co-authored-by: Luflosi <[email protected]>
  • Loading branch information
phanirithvij and Luflosi authored Dec 27, 2024
1 parent 86dabfc commit ef8d883
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nixos/modules/services/system/swapspace.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ let
buildInputs = [ makeWrapper ];
}
''
mkdir -p $out/bin
makeWrapper ${lib.getExe cfg.package} $out/bin/swapspace \
--add-flags "-c ${configFile}"
mkdir -p "$out/bin"
makeWrapper '${lib.getExe cfg.package}' "$out/bin/swapspace" \
--add-flags "-c '${configFile}'"
'';
in
{
Expand Down

0 comments on commit ef8d883

Please sign in to comment.