Init
This commit is contained in:
commit
df96c91b4b
5 changed files with 53 additions and 0 deletions
40
flake.nix
Normal file
40
flake.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
description = "lwn-sub-snoozer";
|
||||
|
||||
inputs = {
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
|
||||
fenix = {
|
||||
url = "github:nix-community/fenix/monthly";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
fenix,
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (system: let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
packages = {
|
||||
default = self.packages.${system}.myapp;
|
||||
};
|
||||
|
||||
# $ nix develop
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = [
|
||||
pkgs.gnumake
|
||||
|
||||
# Nix
|
||||
pkgs.nixpkgs-fmt
|
||||
pkgs.nil
|
||||
|
||||
# Rust
|
||||
fenix.packages.${system}.default.toolchain
|
||||
];
|
||||
};
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue