You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this setup make assumptions about what's installed on the system?
If I search for use_std: command not found, it seems to be related to C/C++ packages being available?
"devshells" appears to be a typo from "devShells"? Changing it, though, errors with "attempt to call something which is not a function but a set", so that's not right either.
~/Projects/tmp/demo ❯ nix flake init -t github:divnix/rust-flake
wrote: /home/sshine/Projects/tmp/demo/.gitignore
wrote: /home/sshine/Projects/tmp/demo/nix/hello/packages.nix
wrote: /home/sshine/Projects/tmp/demo/nix/hello
wrote: /home/sshine/Projects/tmp/demo/nix/automation/devshells.nix
wrote: /home/sshine/Projects/tmp/demo/nix/automation
wrote: /home/sshine/Projects/tmp/demo/nix/rust/packages.nix
wrote: /home/sshine/Projects/tmp/demo/nix/rust
wrote: /home/sshine/Projects/tmp/demo/nix
wrote: /home/sshine/Projects/tmp/demo/flake.nix
wrote: /home/sshine/Projects/tmp/demo/.envrc
wrote: /home/sshine/Projects/tmp/demo/rustfmt.toml
wrote: /home/sshine/Projects/tmp/demo/treefmt.toml
direnv: error /home/sshine/Projects/tmp/demo/.envrc is blocked. Run `direnv allow` to approve its content
~/Projects/tmp/demo ❯ direnv allow
direnv: loading ~/Projects/tmp/demo/.envrc
warning: ignoring untrusted substituter 'https://nix-community.cachix.org', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: input 'crane' has an override for a non-existent input 'flake-utils'
warning: creating lock file '/home/sshine/Projects/tmp/demo/flake.lock'
error:
… while calling the 'elemAt' builtin
at /nix/store/4v8nn2z2vl74yz1557n1dha3l7rzzbgs-source/grow/grow-on.nix:79:11:
78| if length values == 1 || head a then
79| elemAt a 1
| ^
80| else
… while calling the 'head' builtin
at /nix/store/4v8nn2z2vl74yz1557n1dha3l7rzzbgs-source/grow/grow-on.nix:65:92:
64| v1 = !(isAttrs l && isAttrs r);
65| v2 = if attrPath == ["__std" "ci"] || attrPath == ["__std" "init"] then flatten v else head v;
| ^
66| in [v1 v2];
(stack trace truncated; use '--show-trace' to show the full trace)
error: attribute 'devshells' missing
at /nix/store/hgsi689rj9z6vf5bidc5fivjiwpcjghv-source/flake.nix:24:10:
23| cellBlocks = [
24| (std.devshells "devshells")
| ^
25| (std.installables "packages")
Did you mean devShells?
./.envrc:4: : No such file or directory
direnv: using std cells //automation/devshells:dev
environment:1110: use_std: command not found
The text was updated successfully, but these errors were encountered:
Does this setup make assumptions about what's installed on the system?
use_std: command not found
, it seems to be related to C/C++ packages being available?The text was updated successfully, but these errors were encountered: