nix-serve
nix-serve copied to clipboard
use nix-store --dump, not nix dump-path
nix dump-path regressed, and now requires nix-command to be enabled, breaking nix-serve on systems without that being enabled.
However, nix-store --dump works fine across the board, so use that.
Nix issue: https://github.com/NixOS/nix/issues/11225 Workaround in nixpkgs: https://github.com/NixOS/nixpkgs/pull/331230
https://github.com/edolstra/nix-serve/commit/4adb63d5a0fca56fe954ca9b1871ec38caafd008 suggests the change was intentional. If that's the case, https://github.com/NixOS/nix/issues/11225 would need to be fixed and backported.
Similar fix but also fixing CI: https://github.com/edolstra/nix-serve/pull/59
Fixed via #61 instead.