Fix Linux package dependencies (hopefully)
Some checks failed
Build project / Build (push) Failing after 1m45s
Some checks failed
Build project / Build (push) Failing after 1m45s
Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
@@ -44,6 +44,8 @@
|
|||||||
// flake-utils.lib.eachDefaultSystem (
|
// flake-utils.lib.eachDefaultSystem (
|
||||||
system:
|
system:
|
||||||
let
|
let
|
||||||
|
isDarwin = pkgs.stdenv.isDarwin;
|
||||||
|
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
overlays = [ overlay ];
|
overlays = [ overlay ];
|
||||||
@@ -51,6 +53,9 @@
|
|||||||
|
|
||||||
commonBuildInputs = with pkgs; [
|
commonBuildInputs = with pkgs; [
|
||||||
openssl
|
openssl
|
||||||
|
]
|
||||||
|
++ lib.optionals (!isDarwin) [
|
||||||
|
pkgs.udev
|
||||||
];
|
];
|
||||||
|
|
||||||
commonNativeBuildInputs = with pkgs; [
|
commonNativeBuildInputs = with pkgs; [
|
||||||
|
|||||||
Reference in New Issue
Block a user