feat: add flake

This commit is contained in:
Tim Schubert 2025-08-09 21:42:01 +02:00
parent 057e095d90
commit 5c2ecff972
No known key found for this signature in database
6 changed files with 75 additions and 0 deletions

13
flake.nix Normal file
View file

@ -0,0 +1,13 @@
{
description = "Repo RS";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = { self, nixpkgs }: {
devShells.x86_64-linux.default = import ./shell.nix { pkgs = nixpkgs.legacyPackages.x86_64-linux; };
packages.x86_64-linux.repo-rs = nixpkgs.legacyPackages.x86_64-linux.callPackage ./. { };
packages.x86_64-linux.default = self.packages.x86_64-linux.repo-rs;
};
}