diff --git a/templates/flake-parts/flake.nix b/templates/flake-parts/flake.nix index f9d1e7a46..1aea74d5c 100644 --- a/templates/flake-parts/flake.nix +++ b/templates/flake-parts/flake.nix @@ -2,7 +2,7 @@ description = "Description for the project"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + nixpkgs.url = "github:github:cachix/devenv-nixpkgs/rolling"; devenv.url = "github:cachix/devenv"; nix2container.url = "github:nlewo/nix2container"; nix2container.inputs.nixpkgs.follows = "nixpkgs"; @@ -26,6 +26,9 @@ # module parameters provide easy access to attributes of the same # system. + # needed for devenv up + packages.devenv-up = self'.devShells.default.config.procfileScript; + # Equivalent to inputs'.nixpkgs.legacyPackages.hello; packages.default = pkgs.hello; diff --git a/templates/simple/flake.nix b/templates/simple/flake.nix index a440343d2..b049d27f1 100644 --- a/templates/simple/flake.nix +++ b/templates/simple/flake.nix @@ -1,6 +1,6 @@ { inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05"; + nixpkgs.url = "github:github:cachix/devenv-nixpkgs/rolling"; systems.url = "github:nix-systems/default"; devenv.url = "github:cachix/devenv"; };