2024-09-30 Nix team meeting minutes #182

Monday work session

fix: warn on malformed URI query parameter by bryanhonof · Pull Request #11489 · NixOS/nix · GitHub

  • Adding another test for trailing “?”
  • Will merge

fix passing CA files into builtins:fetchurl sandbox by Mic92 · Pull Request #11610 · NixOS/nix · GitHub

  • question between bind-mount and writing file
  • What happens when the target is a symlink?
  • Suggestion: remove bind-mount
    • FOD can writeFile
  • WriteFile will lose ability to dynamically change these settings during a build
    • might not be a bad thing

Nixpkgs upgrade to nixpkgs-unstable by Mic92 · Pull Request #11566 · NixOS/nix · GitHub

  • Need to disable OSX static build.
  • Needs to fix eval.

Add 'store add-gc-root' command to manually add indirect roots by layus · Pull Request #11505 · NixOS/nix · GitHub

  • recommend closing
  • improve documentation for nix build instead (--out-link as a use case and example, with a .drv installable)

Introduce `nix derivation instantiate` by layus · Pull Request #11506 · NixOS/nix · GitHub

  • plumbing command: nix derivation instantiate
  • would like to remove .drv writing eventually
  • Should the CLI enforce the layer separation?
    • This command crosses layers. No.
    • Installables types can be added/removed.
  • roberth writes an issue for the nix create command (rename) idea

proposal “nix create”

  • same behavior as current nix build
  • passing a “derivation” does not actually build it
  • “nix build /nix/store/asdfasdfads.drv^*”
  • “nix build” can substitute instead of just building, resulting in a mismatch in semantics
    • roberth: this is expected; just depends on the argument

libexpr: deprecate the bogus "or"-as-variable by rhendric · Pull Request #11560 · NixOS/nix · GitHub

  • turns cured “or” into a warning
  • Test on flake regression test suite
    • if no real instance found, approve and merge
  • Decision: idea approved

ci: split of eval and build into two jobs by Mic92 · Pull Request #11580 · NixOS/nix · GitHub

  • blocked on race condition on git cache

  • check vs nix-fast-build

    • seems to be circular
    • possible to fix eval/build slowdown in Nix itself?
    • unable to run checks as-is
  • use “nix build”?

    • what about all the other outputs and checks?
  • proposal

    • remove “nix flake show”
    • split “nix flake check” or remove some items
  • proposal

    • “nix build” followed by a build matrix of subsequent checks
    • creating PR… will need review
  • idea: use merge queues

  • Issue of “store triples” allows for better handling of large checks

  • Issue for releasing memory prior to build

  • Issue for restarting evaluator when out of memory

Add flag `set-env-var` to `MixEnvironment`, and rename old ones by bryanhonof · Pull Request #11494 · NixOS/nix · GitHub

  • discussed and approved
1 Like