Added hello template
This commit is contained in:
parent
cfb010fb36
commit
237d56ee0e
3 changed files with 25 additions and 18 deletions
12
hello/flake.nix
Normal file
12
hello/flake.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
description = "Flake template for a rust project";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils, ... }:
|
||||
flake-utils.lib.eachDefaultSystem
|
||||
(system: { devShells.default = mkShell { packages = [ hello ]; }; });
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue