edge.24-10-18
Replaces devenv with plain nix flakes for significantly improved performance, upgrades Cilium and AWS EBS CSI drivers, adds CDN support for core components, and fixes various resource utilization and git-related issues.
Migrate from devenv to Plain Nix Flakes
devenv has been removed from the Panfactum Stack in favor of plain nix flakes. This brings significantly improved performance on macOS (initial installation ~5 minutes, down from 45+) and opens the shell instantly after initial setup.
Update flake.nix
Before:
{ inputs = { pkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; panfactum.url = "github:panfactum/stack/edge.26-04-24"; };
outputs = { self, panfactum, pkgs, ... } @ inputs: { devShells = panfactum.lib.mkDevShells { inherit pkgs; modules = [ (import ./devenv.nix )]; }; };}After:
{ inputs = { flake-utils.url = "github:numtide/flake-utils"; panfactum.url = "github:panfactum/stack/edge.26-04-24"; };
outputs = { panfactum, flake-utils, ... }@inputs: flake-utils.lib.eachDefaultSystem (system: { devShell = panfactum.lib.${system}.mkDevShell { }; } );}Remove devenv Files
Remove your
devenv.nixfile.Remove the
.devenvdirectory.
For alternatives to devenv functionality using the new devShell paradigm, see our documentation.
Renamed Command
pf-get-version-hash has been renamed to pf-get-commit-hash. It now takes named rather than positional arguments. Update any scripts or CI configurations that use this command.