-
Notifications
You must be signed in to change notification settings - Fork 14
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
error: access to canonical path is forbidden in restricted mode #19
Comments
also in NixOS/nixpkgs#173034 |
I am experiencing this issue, when trying to use nix-ld with flakes. Is there a solution to this? I am using a devShell: {
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {
nixpkgs,
flake-utils,
...
}:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in {
devShell = pkgs.mkShell {
NIX_LD = builtins.readFile "${pkgs.stdenv.cc}/nix-support/dynamic-linker";
buildInputs = with pkgs; [
nodePackages.pnpm
];
shellHook = ''
alias npm="pnpm"
'';
};
});
} |
Try this for NIX_LD to avoid
|
also see #31 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Following the Nix flake instructions, I get
my diffs are quite simple
in my home manager config
The text was updated successfully, but these errors were encountered: