forked from lix-project/lix
flake.nix: Make changes so a MinGW dev shell would work
This commit is contained in:
parent
78492cfde7
commit
46b98a40a7
11
flake.nix
11
flake.nix
|
@ -210,7 +210,7 @@
|
||||||
|
|
||||||
buildDeps =
|
buildDeps =
|
||||||
[ curl
|
[ curl
|
||||||
bzip2 xz brotli editline
|
bzip2 xz brotli
|
||||||
openssl sqlite
|
openssl sqlite
|
||||||
libarchive
|
libarchive
|
||||||
(pkgs.libgit2.overrideAttrs (attrs: {
|
(pkgs.libgit2.overrideAttrs (attrs: {
|
||||||
|
@ -219,10 +219,13 @@
|
||||||
cmakeFlags = (attrs.cmakeFlags or []) ++ ["-DUSE_SSH=exec"];
|
cmakeFlags = (attrs.cmakeFlags or []) ++ ["-DUSE_SSH=exec"];
|
||||||
}))
|
}))
|
||||||
boost
|
boost
|
||||||
lowdown-nix
|
|
||||||
libsodium
|
libsodium
|
||||||
]
|
]
|
||||||
++ lib.optionals stdenv.isLinux [libseccomp]
|
++ lib.optionals (!stdenv.hostPlatform.isWindows) [
|
||||||
|
editline
|
||||||
|
lowdown-nix
|
||||||
|
]
|
||||||
|
++ lib.optional stdenv.isLinux libseccomp
|
||||||
++ lib.optional stdenv.hostPlatform.isx86_64 libcpuid;
|
++ lib.optional stdenv.hostPlatform.isx86_64 libcpuid;
|
||||||
|
|
||||||
checkDeps = [
|
checkDeps = [
|
||||||
|
@ -510,7 +513,7 @@
|
||||||
stdenv = currentStdenv;
|
stdenv = currentStdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta.platforms = lib.platforms.unix;
|
meta.platforms = lib.platforms.unix ++ lib.platforms.windows;
|
||||||
meta.mainProgram = "nix";
|
meta.mainProgram = "nix";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue