30 lines
562 B
Nix
30 lines
562 B
Nix
|
{
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||
|
};
|
||
|
outputs = { self, nixpkgs, ... }: {
|
||
|
packages.x86_64-linux = let
|
||
|
pkgs = import nixpkgs {
|
||
|
system = "x86_64-linux";
|
||
|
};
|
||
|
in {
|
||
|
improv-setup = pkgs.rustPlatform.buildRustPackage rec {
|
||
|
pname = "improv-setup";
|
||
|
version = "0.1.0";
|
||
|
|
||
|
src = ./.;
|
||
|
|
||
|
cargoLock.lockFile = ./Cargo.lock;
|
||
|
|
||
|
};
|
||
|
default = self.packages.x86_64-linux.improv-setup;
|
||
|
};
|
||
|
|
||
|
hydraJobs = {
|
||
|
inherit (self)
|
||
|
packages;
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|