nix package, better errors
This commit is contained in:
parent
36c3967170
commit
cf03422f18
3 changed files with 14 additions and 4 deletions
10
flake.nix
10
flake.nix
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
description = "Rust flake";
|
||||
description = "mdf-blog";
|
||||
inputs =
|
||||
{
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; # or whatever vers
|
||||
|
|
@ -16,6 +16,14 @@
|
|||
};
|
||||
in
|
||||
{
|
||||
defaultPackage = pkgs.rustPlatform.buildRustPackage {
|
||||
name = "mdf-blog";
|
||||
pname = "mdf-blog";
|
||||
src = ./.;
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
};
|
||||
};
|
||||
devShell = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
rustc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue