mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
going to try with libcryptsetup-rs
This commit is contained in:
parent
27e5e98669
commit
ff6e4a0b74
4 changed files with 146 additions and 8 deletions
|
@ -19,8 +19,10 @@
|
|||
# Setting variables that everything uses
|
||||
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
|
||||
CLANG_PATH = "${pkgs.llvmPackages.clang}/bin/clang";
|
||||
CRYPTSETUP_PATH = "${pkgs.cryptsetup.dev}/lib/pkgconfig";
|
||||
|
||||
in rec {
|
||||
|
||||
# For `nix build` & `nix run`:
|
||||
defaultPackage = naersk'.buildPackage {
|
||||
inherit LIBCLANG_PATH CLANG_PATH;
|
||||
|
@ -32,8 +34,8 @@
|
|||
# For `nix develop` (optional, can be skipped):
|
||||
devShell = pkgs.mkShell {
|
||||
inherit LIBCLANG_PATH CLANG_PATH;
|
||||
buildInputs = with pkgs; [ pkg-config openssl ];
|
||||
nativeBuildInputs = with pkgs; [ rustc cargo util-linux.dev ];
|
||||
buildInputs = with pkgs; [ openssl cryptsetup.dev ];
|
||||
nativeBuildInputs = with pkgs; [ rustc cargo pkg-config util-linux.dev ];
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue