add flake.nix
This commit is contained in:
parent
08df74f005
commit
dd6028f5e0
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";
|
||||
output = { 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