Fix builds on Darwin (#14)
* Fix builds on Darwin … using the trick that @roberth taught me here: https://github.com/NixOS/nixpkgs/pull/196646#issuecomment-1327364634 This requires bumping the Cabal format version, which in turn requires bumping the version of `cabal2nix` * Update README
This commit is contained in:
committed by
GitHub
parent
b6cabad434
commit
1e42286b14
@@ -114,11 +114,9 @@ Did we satisfy those requirements?
|
||||
|
||||
* Backwards-compatibility
|
||||
|
||||
We have excellent backwards-compatibility with one major exception:
|
||||
`nix-serve-ng` does not support MacOS (whereas `nix-serve` does).
|
||||
|
||||
Other than that, in the vast majority of cases, you can simply replace
|
||||
`pkgs.nix-serve` with `pkgs.nix-serve-ng` and make no other changes.
|
||||
We have excellent backwards-compatibility, so in the vast majority of cases,
|
||||
you can simply replace `pkgs.nix-serve` with `pkgs.nix-serve-ng` and make no
|
||||
other changes.
|
||||
|
||||
* Our executable shares the same name (`nix-serve`) as the original program
|
||||
|
||||
|
||||
Reference in New Issue
Block a user