snowfallorg / nix-editor

A simple rust program to edit NixOS configuration files with just a command
MIT License
73 stars 6 forks source link

error: attribute 'defaultApp.x86_64-linux' should have type 'derivation' #18

Open danbst opened 1 year ago

danbst commented 1 year ago

when running using recommended flake one-liner, I get

$ nix run github:vlinkz/nix-editor
error: attribute 'defaultApp.x86_64-linux' should have type 'derivation'

Does it work for you?

nix run github:vlinkz/nix-editor#nix-editor runs fine.

vlinkz commented 1 year ago

I've updated the flake file so that nix run github:vlinkz/nix-editor should work as expected

danbst commented 1 year ago

Still does not work for me, same error, some problem with defaultApp. I have Nix v2.11.1

image