add flake.nix
This commit is contained in:
parent
08df74f005
commit
67c6d584ab
1 changed files with 14 additions and 0 deletions
14
flake.nix
Normal file
14
flake.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
description = "restic-alarm";
|
||||||
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
||||||
|
outputs = { self, nixpkgs } :
|
||||||
|
let pkgs = import nixpkgs { system = "x86_64-linux"; };
|
||||||
|
in {
|
||||||
|
defaultPackage.x86_64-linux = pkgs.rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "restic-alarm";
|
||||||
|
version = "0.0.1";
|
||||||
|
src = ./.;
|
||||||
|
cargoLock.lockFile = ./Cargo.lock;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue