I’m on NixOS (20.09); I installed flakes support by adding nix.package = pkgs.nixUnstable
and nix.extraOptions = ''experimental-features = nix-command flakes'';
in my /etc/nixos/configuration.nix
. When I try to run a flake from “nimble” repository, I’m getting an error:
$ nix run nimble#nimterop -- --help
warning: unknown setting 'extra-sandbox-paths'
error: --- Error --------------------------------------------------------------------------------------------------------------------------------------------------------- nix
flake 'github:nix-community/flake-nimble/22e4e490b5d5ad15e78c9225022d0dc43d65af8a' has an unsupported attribute 'edition', at /nix/store/vx4zih0ainkmghglpgfh236w78mp1m3g-source/flake.nix:2:3
I tried changing: nix.package = pkgs.nixFlakes
and did sudo nixos-rebuild switch
, but the error seems to be still exactly the same.
What can I do to make it work? Am I doing something wrong? I tried searching on the internet, but didn’t manage to find any results that would seem related Any help would be appreciated!