32 lines
562 B
Nix
32 lines
562 B
Nix
{
|
|
inputs = {
|
|
nixpkgs = {
|
|
url = "nixpkgs/nixos-unstable";
|
|
};
|
|
flake-utils = {
|
|
url = "github:numtide/flake-utils";
|
|
};
|
|
};
|
|
|
|
outputs = {
|
|
nixpkgs,
|
|
flake-utils,
|
|
...
|
|
}:
|
|
flake-utils.lib.eachDefaultSystem (
|
|
system: let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
in {
|
|
devShells.default = pkgs.mkShell {
|
|
nativeBuildInputs = [
|
|
pkgs.zig_0_13
|
|
];
|
|
shellHook = ''
|
|
export name=osc-fuzzer
|
|
'';
|
|
};
|
|
}
|
|
);
|
|
}
|