mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
19 lines
453 B
Nix
19 lines
453 B
Nix
|
{ pkgs ? import <nixpkgs> { } }:
|
||
|
|
||
|
let app = pkgs.callPackage ./package.nix { };
|
||
|
in pkgs.mkShell {
|
||
|
inputsFrom = [ app ];
|
||
|
|
||
|
# The rest of the development-related packages should be here.
|
||
|
packages = with pkgs; [
|
||
|
direnv
|
||
|
clippy
|
||
|
rust-analyzer
|
||
|
|
||
|
# The formatters used in this project.
|
||
|
treefmt # The universal formatter (if configured nicely).
|
||
|
nixfmt # The universal Nix formatter.
|
||
|
rustfmt # The universal Rust formatter.
|
||
|
];
|
||
|
}
|