update.py: allow to build without argument
Generate the default.nix with a default pkgs argument so that it can be used directly.
This commit is contained in:
parent
69ff5681d5
commit
f862362090
2 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
{ pkgs }:
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
let
|
||||
inherit (pkgs) fetchgit fetchFromGitHub callPackages;
|
||||
in {
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ def generate_nix_expression(repos: List[Repo]) -> str:
|
|||
joined = "\n\n".join(expressions)
|
||||
|
||||
return f"""
|
||||
{{ pkgs }}:
|
||||
{{ pkgs ? import <nixpkgs> {{}} }}:
|
||||
let
|
||||
inherit (pkgs) fetchgit fetchFromGitHub callPackages;
|
||||
in {{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue