Domen Kožar

Results 1529 comments of Domen Kožar

Are you saying that you would like to know what the contents of `nix-build` should be?

@razvan-flavius-panda that depends what exactly would you like to push to cachix? Your whole machine?

@razvan-flavius-panda `nix-build` will actually build all packages in `default.nix`. I'm trying to understand your motivation: do you want to push all your local builds to cachix?

Thanks for opening this, it is definitely planned to have statically linked executable. Currently it's not, so it has to be coming from nixpkgs, so that there's an existing binary...

Now that cachix depends on Nix, this is going to get prioritized. Blocked by https://github.com/NixOS/nixpkgs/pull/56281

That's my intention, nixpkgs would build the static binary, but instead of evaluating whole nixpkgs, static executable can just be directly substituted.

I think this is blocked until cachix gets to use GHC 8.8 with Cabal 3, that should make static compilation simple.

That would be great, I'd pair up.

Now that Cachix pulls in Nix and builds with Rust, static builds are going to be quite some work. Might use something like a tarball instead: https://pastebin.com/ev4M6Kff

Cachix uses inline-c-cpp to invoke Nix logic, so it's compiled with.