Closed jkarni closed 1 year ago
I'll see if I can come up with a PR.
(And thanks for the package!)
nix-env -iA nixpkgs.nix-serve-ng
It not work same error
The program must call nix::initNix() before calling any libstore library functions.
version
nix --version
# nix (Nix) 2.14.1
none nixos, nix only temporary fixed it:
nix-env -E '_: let pkgs = import <nixpkgs> {}; in pkgs.nix-serve-ng.override { nix = pkgs.nixVersions.nix_2_12; }' -i
When running
nix-serve-ng
with nix 1.13.2, I get the following error:This seems to be because of this recent change.
See also https://github.com/NixOS/nix/pull/7705 and a similar issue with
nix-serve
.(With nix 2.11 this works fine.)