18 lines
222 B
Nix
18 lines
222 B
Nix
{ pkgs ? (import <nixpkgs> {}) }:
|
|
|
|
let
|
|
env = with pkgs.rustUnstable; [
|
|
rustc
|
|
cargo
|
|
];
|
|
in
|
|
|
|
pkgs.stdenv.mkDerivation rec {
|
|
name = "imag";
|
|
src = ./.;
|
|
version = "0.0.0";
|
|
|
|
buildInputs = [ env ];
|
|
|
|
}
|
|
|