{ description = "Simple JIT"; inputs = { nixpkgs.url = "nixpkgs"; systems.url = "github:nix-systems/x86_64-linux"; flake-utils = { url = "github:numtide/flake-utils"; inputs.systems.follows = "systems"; }; }; outputs = { self , nixpkgs , flake-utils , ... }: flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; pname = "simple-jit"; #package name version = "0.0.1"; src = ./.; buildInputs = with pkgs; [ ]; nativeBuildInputs = with pkgs; [ ninja cmake pkg-config clang-tools ]; in { devShells.default = pkgs.mkShell { inherit buildInputs nativeBuildInputs; }; packages.default = pkgs.mkShell.override { stdenv = pkgs.clangStdenv; } { inherit buildInputs nativeBuildInputs; }; }); }