nix-serve icon indicating copy to clipboard operation
nix-serve copied to clipboard

use nix-store --dump, not nix dump-path

Open flokli opened this issue 1 year ago • 2 comments

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

flokli avatar Jul 31 '24 09:07 flokli

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.

flokli avatar Jul 31 '24 09:07 flokli

Similar fix but also fixing CI: https://github.com/edolstra/nix-serve/pull/59

Mic92 avatar Aug 02 '24 07:08 Mic92

Fixed via #61 instead.

edolstra avatar Sep 20 '24 15:09 edolstra