Skip to content

Commit 3437e07

Browse files
committed
Add some more comments
1 parent 7cfa73f commit 3437e07

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

flake.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
let
1313
pkgs = nixpkgs.legacyPackages.${system};
1414
formatter = pkgs.nixpkgs-fmt;
15+
# Check in https://search.nixos.org/packages to find new packages.
16+
# Use `nix flake update` to update the lock file if packages are out-of-date.
1517
devShellPackages = with pkgs; [
1618
bat
1719
bash
@@ -107,6 +109,10 @@
107109
# Using Nix instead of Docker is **significantly** faster. This _build_
108110
# doesn't really build anything, it just copies pre-built binaries into
109111
# a container and adds them to the $PATH.
112+
#
113+
# To test changes and iterate on this, you can run:
114+
# > nix build .#devEnvImage && ./result | docker load
115+
# This will import the image into your local Docker daemon.
110116
devEnvImage = pkgs.dockerTools.streamLayeredImage {
111117
name = "codercom/oss-dogfood";
112118
tag = "testing";

0 commit comments

Comments
 (0)