Skip to content

Commit

Permalink
updating dependencies, also added abilty to disable injecting goEnv i…
Browse files Browse the repository at this point in the history
…nto shell
  • Loading branch information
takeda committed Feb 4, 2024
1 parent 0d1d18c commit 400e049
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 21 deletions.
36 changes: 18 additions & 18 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions languages/go-gomod2nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
description = "path to gomod2nix.toml file";
default = config.src + "/gomod2nix.toml";
};

inject_app_env = mkOption {
type = types.bool;
description = "include the app in the dev shell";
default = true;
};
};
};
};
Expand Down Expand Up @@ -49,8 +55,6 @@
dev_commands = [
gomod2nix.gomod2nix
];
dev_apps = [
goEnv
];
dev_apps = lib.optional cfg.inject_app_env goEnv;
};
}

0 comments on commit 400e049

Please sign in to comment.