Hacker Newsnew | past | comments | ask | show | jobs | submit | Diti's commentslogin

I wish I knew whether Devenv has a conflict of interest with the Nix project. On /r/NixOS on Reddit, some of the people involved in the project just spam submissions related to Devenv instead of helping the community. One instance: https://www.reddit.com/r/NixOS/comments/194a4ln/comment/lnep...

I followed this relatively closely and there is no conflict of interest. There is competition, though. With flakes. That’s a good thing in general (competition is good) and in the case of flakes, specifically (flakes are lackluster).

It is the opposite of conflict of interest. Both devenv and the Nix community at large benefits from the growth of Nix.

You're flat out wrong. Devenv is the defacto standard solution in the Nix community for setting up per-project development environments and services, which is exactly what the linked submission asked for. Calling it a Nix fork like you did in your linked comment makes much sense as torching Debian for "shilling a Linux fork" just because they package patched kernels.

tl;dr: no.

This commenter is just wrong. denenv.nix pretty much is flake.nix + services. It has since grown more features, but this kind of use case is exactly its niche.

Devenv isn't a Nix fork and doesn't compete with Nix. Its scope is narrower and it's downstream of Nix. The code you write for configuring Devenv is ordinary Nix code. Its configuration system is a perfectly ordinary Nix module system.

There is a `devenv` CLI tool, and that CLI bundles a downstream soft fork of Nix that carries a few patches. Those patches exist to make it possible to read `devenv.nix` rather than `flake.nix` and use an easily programmatically editable yaml file for defining flake inputs. Other than that, all of the patches are just PRs that are open against mainline Nix that are included to speed up evaluation, notably the patchset for "lazy trees" or "source tree abstraction" (which is also in the Determinate Nix distribution of Nix).

But you can actually use the core features of Devenv (that is, the module system for configuring environments) without using the Devenv CLI or the patched evaluator. This isn't a hidden thing or a hack, either— it's documented on https://devenv.sh . It's always been this way, and isn't a paywall boundary or a trick. The whole of Devenv is open-source, and the vast majority of the code is Nix modules that you can use with any Nix implementation that you like (though flakes support makes it easier; Devenv's modules are exposed as flake-parts modules).

Hell, you can even use large subsets of devenv's functionality without using devenv at all. One of its key features is a Nix wrapper/integration for the pre-commit framework for managing git hooks. That whole subset of functionality is extremely loosely coupled to devenv, and lives in a separate repo. You can just import it as a flake-parts module with vanilla Nix without using devenv at all (i.e., not even the module system).

There's some code duplication with Nix (optional evaluator patches) and Nixpkgs (downstream release channel for guaranteeing integration with devenv's language configuration options, also optional (my team doesn't use it at all)), but it's extremely misleading to characterize Devenv as a fork of any Nix community projects including those two.

Just posting a link to the Devenv website is admittedly not a high-effort reply, but recommending Devenv is absolutely a fair reply to the post you linked. (Given that that post explicitly mentions not wanting to use Devenv, it definitely deserved a real conversation instead of what it got.)

PS: I'm not affiliated with devenv or Cachix. I just use it at work and know the code a little from times that I've filed bugs or submitted patches.


That is only partly correct. Devenv.sh misses outputs defining packages compared to flake.nix, i.e. there is no way to deterministically build the project as a nix package. It's the developer environment devenv competes with. Both can even work in tandem. Devenv for the devenv, flakes for the rest.

Sorry, I wasn't clear. Well, at least there wasn't a way. The newest update is now a step in that direction.

It’s solved by Nix. Whichever package management you choose (nixpkgs or pip or whatever), the derivation should have the same hash in the Nix store.

(Nix isn’t the solution for OP’s problems though – Nix packages are unsigned, so it’s it’s basically backdoor-as-a-service.)


The Nix installer is one of the more shocking curl | bash experiences I've had.

It created users and groups on my system! And the uninstall script didn't clean it up.


No. Fascism killed about a thousand people per year in recent years [1]. Loneliness killed about a million per year (870 k) [2].

[1]: https://deathtofascism.com/files/2021-THE_YEAR_IN_FASCIST&FA...

[2]: https://www.who.int/news/item/30-06-2025-social-connection-l...


That really depends on which states you consider to be fascist.


*recent years... hm... what happens if we map history to now (rhymes likes chimes)... what should we expect to see then?

And to be frank. Only fascists fraternize with fascists. It probably also contributes to the loneliness epidemic when no one will be their friend because of their racist/nationalist/sexist beliefs except other such degenerates (who aren't really their friends at all).

You aren't friends with fascists. Fascists have no friends, only temporary allies. NEVER TRUST A FASCIST: EVER.

Fascism is far far worse than loneliness for society. Fascism causes world wars. Loneliness doesn't cause that level of societal destruction. Fascism is evil.


But maybe loneliness causes fascism. (Or at least it creates fertile ground for it.) Lonely men, in particular, looking for somewhere to belong, that nobody else accepts, seem to me to be ripe for fascists to recruit.


I'd rather be lonely than a fascist. It's not a pipeline. Fascism may try to exploit it. But you are responsible for you: not someone else. Loneliness doesn't turn someone fascist. Fascist tendencies cause loneliness, if anything, not the other way around. No sane person likes those tendencies.


Even if we take your (unhinged) post at face value, the problem is how people define "fascist". We're seeing some pretty darn loose definitions being thrown around.


We didn’t have loneliness epidemics at the same time as fascism before, so there’s no data to compare. That’s why I added “in recent years”.


[flagged]


Putin isn't.


In the future, fascists will call themselves anti-fascists


In the future?


How do you get that electronic cash in the first place without going through a financial institution?

Possibly by trading with someone who already has electronic cash, I guess – but how do I know I’m not laundering the other person’s money, and/or financing terrorism or CSAM with my fiat money?


Ideally your employer would support paying your salary using electronic cash. Or you can offer goods and services in exchange for electronic cash.


But they are strangely okay with murder.


It's kind of fucked up that we are almost used to murder in various media (movies, games, etc.), meanwhile even slightly explicit sex is much more taboo. I do vaguely understand why this is (religious beliefs that formed our understanding of what is acceptable and what-not), but I am still surprised that this is how it is even with the rise of Atheism in recent decades.


That's american values for you.


My personal definition is that if you can stack the food you buy, it has been processed. It’s a subjective definition, and there might be dozens of counterexamples, but it feels true to me.


So Pringles are, but regular potato chips aren't.


OP is presumably a bot. Look at all its submissions.


I'm not a bot, just sumbit websites I make


We all cannot afford job instability, with mortgages to pay.


Also a lot of value add comes from corporations which produce things of complexity greater than the sum of their constituent parts.

If you already have a platform in use by the entire world, that matter of scale makes it much easier to find value adds more than a sole proprietor could ever dream of.

It's for these reasons I'm wary of talking about "value add" only being from the developers directly implementing a feature. Without support, IT, security, Product, HR, etc, I could not deliver that value add.


I 100% agree! It's almost like income stability is valuable!


Requests per second?


Harder to scale, stateful.


A simple web search could have given you the citation.

“The Amsterdam Cohort of Gender Dysphoria Study (1972–2015): Trends in Prevalence, Treatment, and Regrets” (DOI: 10.1016/j.jsxm.2018.01.016).

The word “many” is misleading – it’s less than 1 %. It’s not nothing, but it’s low.


That ~1% figure is unlikely to reflect the full picture of regret. That paper defines regret very narrowly: only including the patients who made an appointment with their original medical team to discuss regret, and only if they regret surgical removal of their sex organs. Plus, a large number of their total cohort were lost to follow-up.


https://pubmed.ncbi.nlm.nih.gov/29463477/

This isn't the desistence rate of children, this is the regret rate of adults who transition.


Can I just point out the irony of this statement in the context of my comment up thread.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: