feat: add flake
This commit is contained in:
parent
057e095d90
commit
5c2ecff972
6 changed files with 75 additions and 0 deletions
13
flake.nix
Normal file
13
flake.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue