refactored
This commit is contained in:
parent
982ee2b239
commit
23d8a8d914
7 changed files with 653 additions and 128 deletions
33
flake.nix
33
flake.nix
|
|
@ -1,33 +0,0 @@
|
|||
{
|
||||
description = "A tool for solving my inability to remember the right args to extract all the damnd formats";
|
||||
|
||||
inputs={
|
||||
nixpkgs.url = "nixpkgs/23.05";
|
||||
};
|
||||
|
||||
outputs = {self, nixpkgs}: let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
|
||||
in {
|
||||
defaultPackage.${system} = with pkgs; stdenv.mkDerivation {
|
||||
name = "extract_rs";
|
||||
src = self;
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
pkgconfig
|
||||
rustc
|
||||
cargo
|
||||
cargo-watch
|
||||
just
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
export OPENSSL_DIR=${openssl.dev}
|
||||
export OPENSSL_LIB_DIR=${openssl.out}/lib
|
||||
export OPENSSL_INCLUDE_DIR=${openssl.dev}/include
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue