Remove dependence on bsd-sysctl package

… since it doesn't work on Linux
This commit is contained in:
Gabriella Gonzalez
2022-06-30 15:59:38 -07:00
parent 24fb4b7fea
commit 614ed2ca65
6 changed files with 29 additions and 36 deletions

View File

@@ -15,17 +15,9 @@ executable nix-serve-ng
main-is: Main.hs
other-modules: Sysctl
, Nix
other-modules: Nix
, Options
if os(darwin)
hs-source-dirs: darwin
elif os(linux)
hs-source-dirs: linux
else
buildable: False
-- https://nixos.org/manual/nix/stable/installation/supported-platforms.html
if arch(i686) && os(linux)
cxx-options: -DSYSTEM="i686-linux"
@@ -49,7 +41,6 @@ executable nix-serve-ng
build-depends: base < 5
, base16
, base32
, bsd-sysctl
, bytestring
, charset
, http-types