Using simpleFlake, assuming nix build .#release is meant to build a release from source code:
It would be nice to provide access to the flake's self somehow to do src = self when needed.
A global reference to repo root seems somehow a little more flakeonic, than doing src = ../../. (or whatever relpath).
Not sure if possible, though, without altering the signature of the overlay.nix file.
Would also alleviate enforcement of proposal in #15, I guess.
Is it really a problem to break compat with nix-*? For those who need it it could be overlay.nix + overlay.fl.nix (a thin wrapper that does what it can).
Using simpleFlake, assuming
nix build .#release
is meant to build a release from source code:It would be nice to provide access to the flake's
self
somehow to dosrc = self
when needed. A global reference to repo root seems somehow a little more flakeonic, than doingsrc = ../../.
(or whatever relpath).Not sure if possible, though, without altering the signature of the overlay.nix file.
Would also alleviate enforcement of proposal in #15, I guess.
Is it really a problem to break compat with nix-*? For those who need it it could be
overlay.nix
+overlay.fl.nix
(a thin wrapper that does what it can).