blob: 1b9f0bb9dd33cbdc2af9472c11e9ebba0b02d75b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs, flake-utils, ... }:
let
shell = { pkgs, ... }:
pkgs.mkShell rec {
buildInputs = with pkgs; [
cmake
gnumake
pkg-config
clang-tools
pkgs.qt6.full
# libcef
# nss
];
nativeBuildInputs = [];
# CEF_PACKAGE_PATH = "${pkgs.libcef}";
LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath (buildInputs ++ nativeBuildInputs)}";
};
in flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in {
devShells.default = shell { inherit pkgs system; };
});
}
|