patches and low-level development discussion
 help / color / mirror / code / Atom feed
* Flake support - what are your thoughts?
@ 2024-09-04  7:00 Dom (shymega) Rodriguez
  2024-09-09 12:29 ` Alyssa Ross
  0 siblings, 1 reply; 2+ messages in thread
From: Dom (shymega) Rodriguez @ 2024-09-04  7:00 UTC (permalink / raw)
  To: devel@spectrum-os.org

Hello all!

I'm picking up the Flake patch previously posted on this list, and want
to get some input from developers & users alike.

Do you prefer `nix-shell`/`nix-build` or Flakes? Would you be satisfied if
we had compatibility shims for these tools?

How do you feel about impure Flakes? Would you mind passing `--impure`
to `nix $CMD` invocations?

Any thoughts are welcome - feel free to DM me on Matrix/IRC if you don't
want to reply to the list. My Matrix ID is: @dom:rodriguez, and my IRC
nick is 'shymega[i]'.

Thanks!

Best wishes,
--
Dom Rodriguez
GPG Fingerprint: EB0D 45E6 D0DC 1BA1 A2B5  FC24 72DC F123 1E54 BD43

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Flake support - what are your thoughts?
  2024-09-04  7:00 Flake support - what are your thoughts? Dom (shymega) Rodriguez
@ 2024-09-09 12:29 ` Alyssa Ross
  0 siblings, 0 replies; 2+ messages in thread
From: Alyssa Ross @ 2024-09-09 12:29 UTC (permalink / raw)
  To: Dom (shymega) Rodriguez; +Cc: devel

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

"Dom (shymega) Rodriguez" <shymega@shymega.org.uk> writes:

> Do you prefer `nix-shell`/`nix-build` or Flakes? Would you be satisfied if
> we had compatibility shims for these tools?

I think it's much better to have the flake.nix call into generic code
than having a wrapper around flake.nix — flake.nix files are often very
long with a lot of levels of indentation just for the Flakes stuff, so
it's nice to have the actual build stuff elsewhere to keep flake.nix
manageable.  Also, to have a compatibility shim, as I understand it you
end up needing a Nix implementation of Flakes (flake-compat).  In the
other direction, there's no need for anything like this.


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-09 12:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-04  7:00 Flake support - what are your thoughts? Dom (shymega) Rodriguez
2024-09-09 12:29 ` Alyssa Ross

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).