added comments to explain need help with one section marked TODO

This commit is contained in:
specCon18 2025-06-21 03:55:37 -04:00
parent f098443518
commit dab2edce05
2 changed files with 11 additions and 7 deletions

View file

@ -10,9 +10,6 @@
# System types to support.
supportedSystems = [
"x86_64-linux"
"x86_64-darwin"
"aarch64-linux"
"aarch64-darwin"
];
# Helper function to generate an attrset '{ x86_64-linux = f "x86_64-linux"; ... }'.
@ -24,18 +21,20 @@
in
{
# Provide some binary packages for selected system types.
# Provide some binary packages for selected system types by mapping over each system architecture.
packages = forAllSystems (
system:
let
# Set pkgs = the correct version for a given architecture.
pkgs = nixpkgsFor.${system};
in
{
#TODO: NEED TO GO OVER THIS SYNTAX AGAIN.
go-hello = pkgs.callPackage ./package.nix { };
}
);
# Add dependencies that are only needed for development
# Add dependencies that are only needed for development, this also allows for nix develop command to launch a devshell
devShells = forAllSystems (
system:
let