bobvanderlinden / nixpkgs-ruby

A Nix repository with all Ruby versions being kept up-to-date automatically

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using nix flake init doesn't work

ryanbooker opened this issue · comments

I am almost certainly doing something wrong, as I'm new to nix flakes. However the following command does not work:

nix flake init github:bobvanderlinden/nixpkgs-ruby#

error:

error: unexpected argument 'github:bobvanderlinden/nixpkgs-ruby#'

I tried adding -t before github:bobvanderlinden/nixpkgs-ruby#, however this also failed:

error: cannot find flake attribute 'github:bobvanderlinden/nixpkgs-ruby#defaultTemplate'

This was due to an old nix version..