dsc icon indicating copy to clipboard operation
dsc copied to clipboard

flake: odd error about recursive description

Open antifuchs opened this issue 2 years ago • 2 comments

I'm trying to add dsc as a nix flake to my own system definition's flake, by adding its overlay to the system's nixos overlays; when I do that and put the package onto environment.systemPackages, I get this error:

error: attribute 'description' missing

       at /nix/store/wazf8xj3bp131skjhl3lkk1w8sbmr7aa-source/flake.nix:59:27:

           58|             inherit version;
           59|             description = self.description;
             |                           ^
           60|             pname = name;
(use '--show-trace' to show detailed location information)

That's indeed a line that occurs in flake.nix here. I'm not sure why it fails like this; on a nix repl in the flake, using and inspecting the package works.

antifuchs avatar Dec 03 '22 20:12 antifuchs

Strange! Not sure how to debug this, perhaps the self is overloaded somehow which doesn't happen when using nix repl 🤔

eikek avatar Dec 03 '22 20:12 eikek

@antifuchs , can you try the new flake (#273)?

VTimofeenko avatar Feb 24 '23 00:02 VTimofeenko