fix mistake in flake.nix example

This commit is contained in:
DavHau 2022-02-04 15:55:44 +07:00
parent 94907133d5
commit 76b24c7a52

View file

@ -74,7 +74,7 @@ in
l = nixpkgs.lib // builtins; l = nixpkgs.lib // builtins;
supportedSystems = [ "x86_64-linux" "aarch64-darwin" ]; supportedSystems = [ "x86_64-linux" "aarch64-darwin" ];
forAllSystems = f: l.genAttrs supportedSystems forAllSystems = f: l.genAttrs supportedSystems
(system: f system (import mach-nix.inputs.nixpkgs {inherit system;})); (system: f system (import nixpkgs {inherit system;}));
in in
{ {
# enter this python environment by executing `nix shell .` # enter this python environment by executing `nix shell .`