diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2023-08-28 12:09:46 +0200 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2023-08-28 12:45:00 +0200 |
| commit | 390bbde8924e47e278b75ef412477f71781518cf (patch) | |
| tree | c8b8720ed05c77a1ddbdaf5ae5f98e3119c467d4 /templates/devenv/simple/flake.nix | |
| parent | 2aa5cffaf3b1461df12500f112ba1484ee4e8a2f (diff) | |
lib: mkDevenv: fix args
Diffstat (limited to 'templates/devenv/simple/flake.nix')
| -rw-r--r-- | templates/devenv/simple/flake.nix | 6 |
1 files changed, 4 insertions, 2 deletions
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. ({...}: { |
