forked from the-distro/ofborg
dcb534e3ae
Crate2nix hasn't been added to nixpkgs yet so it needs to be pulled in separately.
7 lines
246 B
Bash
Executable file
7 lines
246 B
Bash
Executable file
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -E "with import <nixpkgs> {}; mkShell { nativeBuildInputs = [ (import (builtins.fetchTarball https://github.com/kolloch/crate2nix/archive/0.8.0.tar.gz) {}) ]; }"
|
|
set -e
|
|
|
|
cargo build
|
|
crate2nix generate
|