add nix flake
This commit is contained in:
parent
70951c34c6
commit
c39c8c0c67
3 changed files with 46 additions and 0 deletions
20
flake.nix
Normal file
20
flake.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
description = "Doggo flake";
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
let pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
in {
|
||||
# packages.x86_64-linux.hello = pkgs.hello;
|
||||
# packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello;
|
||||
# defaultPackage.x86_64-linux = self.packages.x86_64-linux.hello;
|
||||
|
||||
devShell.x86_64-linux = with pkgs;
|
||||
mkShell {
|
||||
buildInputs = [
|
||||
just
|
||||
cargo
|
||||
rustup
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue