orzklv 0.2.3

Library consisting various implementation for std and libs by Orzklv
Documentation
{pkgs ? import <nixpkgs> {}}: let
  getLibFolder = pkg: "${pkg}/lib";
in
  pkgs.stdenv.mkDerivation {
    name = "liborzklv";

    nativeBuildInputs = with pkgs; [
      # Hail the Nix
      nixd
      alejandra
      statix
      deadnix

      # Launch scripts
      just
      openssl

      # Rust
      rustc
      cargo
      clippy
      rustfmt
      cargo-watch
      rust-analyzer
    ];

    # buildInputs = with pkgs; [
    # ];

    # Set Environment Variables
    RUST_BACKTRACE = 1;
    NIX_LDFLAGS = "-L${(getLibFolder pkgs.libiconv)}";
    RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
    LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
      pkgs.gcc
      pkgs.libiconv
      pkgs.llvmPackages.llvm
    ];
  }