summaryrefslogtreecommitdiff
path: root/templates/devenv
diff options
context:
space:
mode:
Diffstat (limited to 'templates/devenv')
-rw-r--r--templates/devenv/flake-parts/flake.nix1
-rw-r--r--templates/devenv/simple/flake.nix6
2 files changed, 5 insertions, 2 deletions
diff --git a/templates/devenv/flake-parts/flake.nix b/templates/devenv/flake-parts/flake.nix
index 5c32548..8708556 100644
--- a/templates/devenv/flake-parts/flake.nix
+++ b/templates/devenv/flake-parts/flake.nix
@@ -2,6 +2,7 @@
inputs = {
devenv.url = "github:cachix/devenv";
my-nixpkgs.url = "github:qaristote/my-nixpkgs";
+ nixpkgs = {};
};
nixConfig = {
diff --git a/templates/devenv/simple/flake.nix b/templates/devenv/simple/flake.nix
index 6466cfa..078b577 100644
--- a/templates/devenv/simple/flake.nix
+++ b/templates/devenv/simple/flake.nix
@@ -2,6 +2,8 @@
inputs = {
devenv.url = "github:cachix/devenv";
my-nixpkgs.url = "github:qaristote/my-nixpkgs";
+ nixpkgs = {};
+ flake-parts = {};
};
nixConfig = {
@@ -9,8 +11,8 @@
extra-trusted-substituters = "https://devenv.cachix.org";
};
- outputs = {my-nixpkgs, ...} @ inputs:
- my-nixpkgs.lib.mkDevenv inputs
+ outputs = inputs:
+ inputs.my-nixpkgs.lib.mkDevenv inputs
# this function has the same arguments flake-parts' perSystem does:
# config, lib, pkgs, system, etc.
({...}: {