dsc
dsc copied to clipboard
flake: odd error about recursive description
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.
Strange! Not sure how to debug this, perhaps the self is overloaded somehow which doesn't happen when using nix repl 🤔
@antifuchs , can you try the new flake (#273)?