Skip to content

Commit

Permalink
Issue arrterian#41 - Fixing the spaced path command.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-lavoie committed Jan 30, 2021
1 parent 62fc2e3 commit 78ed08a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ export const getShellCmd = (internalCommand: "env", attr: Option<string>) => (pa
return pipe(
path,
toOption,
mapNullable(path => `nix-shell ${attrArg} ${path} --run ${internalCommand}`),
mapNullable(path => `nix-shell ${attrArg} \"${path}\" --run ${internalCommand}`),
);
};

0 comments on commit 78ed08a

Please sign in to comment.