Skip to content

Commit

Permalink
keep the original call signature of src/devenv.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
bobvanderlinden committed Apr 24, 2023
1 parent f6ea9df commit dd5b388
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
systems = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
forAllSystems = f: builtins.listToAttrs (map (name: { inherit name; value = f name; }) systems);
mkPackage = pkgs: import ./src/devenv.nix {
inherit pkgs;
nix = nix.packages.${pkgs.stdenv.system}.nix;
inherit pkgs nix;
};
mkDevShellPackage = config: pkgs: import ./src/devenv-devShell.nix { inherit config pkgs; };
mkDocOptions = pkgs:
Expand Down
3 changes: 2 additions & 1 deletion src/devenv.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs, nix }:
{ pkgs, ... } @ args:
let
examples = ../examples;
lib = pkgs.lib;
Expand All @@ -12,6 +12,7 @@ let
docopts
util-linuxMinimal;
devenv-yaml = import ./devenv-yaml.nix { inherit pkgs; };
nix = args.nix.packages.${pkgs.stdenv.system}.nix;
in
pkgs.writeScriptBin "devenv" ''
#!${bash}/bin/bash
Expand Down

0 comments on commit dd5b388

Please sign in to comment.