-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An apostrophe in the project's path causes failure when using direnv activation #1173
Comments
Could be related to #1107 |
It still works fine with spaces for me. |
The error you're seeing is coming from the bash rc script that's created by Nix. If you look through I would suggest opening an issue with either https://github.com/NixOS/nix or https://github.com/NixOS/nixpkgs. I can't quite tell whose responsibility it is to sanitise the paths. A simple repo {
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = { self, nixpkgs }:
let
lib = nixpkgs.lib;
forAllSystems = lib.genAttrs ["x86_64-linux" "x86_64-darwin" "aarch64-darwin" "aarch64-linux"];
in
{
devShells = forAllSystems (system:
let pkgs = nixpkgs.legacyPackages.${system};
in {
default = pkgs.mkShell {};
}
);
};
} |
Describe the bug
An apostrophe in the project's path causes failure when using direnv activation.
To reproduce
With
direnv
installed:Version
The text was updated successfully, but these errors were encountered: