Skip to content
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

doc: Update the template fetch snippet #141

Closed
wants to merge 1 commit into from
Closed

doc: Update the template fetch snippet #141

wants to merge 1 commit into from

Conversation

foo-dogsquared
Copy link

It creates an UndefinedVar error for me. Tested on Nix v2.3.10 and unstable version of Nix just to be sure.

@nrdxp
Copy link
Collaborator

nrdxp commented Mar 1, 2021

Thanks for the report. Are your refering to:

nix-shell https://github.com/divnix/devos/archive/core.tar.gz -A shell \
  --run "flk get core"

?

If so, I cannot reproduce this error, even after a fresh garbage collection. What's your OS and Arch.

@codygman
Copy link
Contributor

codygman commented Mar 1, 2021

I think @foo-dogsquared means the one without quotes before the change:

 nix-shell -p cachix --run cachix use nrdxp 

This one gives the error:

devos  cody 「↪ 𝚫 ⟫8 」  ⎔ on  (us-east-1) 
✖1 ❯  nix-shell -p cachix --run cachix use nrdxp 
error: --- UndefinedVarError ------------------------------------------------------------------- nix-shell
at: (1:103) from string

     1| with import <nixpkgs> { }; (pkgs.runCommandCC or pkgs.runCommand) "shell" { buildInputs = [ (cachix) (use) (nrdxp) ]; } ""
      |                                                                                                       ^

undefined variable 'use'
(use '--show-trace' to show detailed location information)

@nrdxp nrdxp closed this in 25bdb25 Mar 2, 2021
@nrdxp
Copy link
Collaborator

nrdxp commented Mar 2, 2021

Just needed some quotes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants