From ef8d883dc4aee499ee25b4a4e9a99d137ae5bd79 Mon Sep 17 00:00:00 2001 From: Phani Rithvij Date: Fri, 27 Dec 2024 19:18:18 +0530 Subject: [PATCH] Update nixos/modules/services/system/swapspace.nix Co-authored-by: Luflosi --- nixos/modules/services/system/swapspace.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/system/swapspace.nix b/nixos/modules/services/system/swapspace.nix index fccadcbafa549..4fe0ca3a3b075 100644 --- a/nixos/modules/services/system/swapspace.nix +++ b/nixos/modules/services/system/swapspace.nix @@ -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 {