chore(nix): updated nix for current use case

This commit is contained in:
Ethan Holz
2023-11-05 14:23:27 -06:00
parent 3efeb8a636
commit 143e8de114
2 changed files with 12 additions and 12 deletions

View File

@@ -15,7 +15,7 @@
];
systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];
perSystem = { config, self', inputs', pkgs, system, ... }:
perSystem = { config, self', inputs', pkgs, system, ... }:
{
# Per-system attributes can be defined here. The self' and inputs'
# module parameters provide easy access to attributes of the same
@@ -23,8 +23,8 @@
# Equivalent to inputs'.nixpkgs.legacyPackages.hello;
devShells.default = pkgs.mkShell {
nativeBuildInputs = [ pkgs.hugo pkgs.yarn pkgs.go_1_21 pkgs.nodePackages.postcss pkgs.nodePackages.postcss-cli pkgs.nodejs_18 pkgs.nodePackages.autoprefixer];
};
nativeBuildInputs = with pkgs; [ nodejs_18 nodePackages_latest.prettier];
};
};
flake = {
# The usual flake attributes can be defined here, including system-