diff options
| author | QMK Bot <hello@qmk.fm> | 2021-06-20 13:30:43 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2021-06-20 13:30:43 +0000 |
| commit | 291455098f1e382c04feac48d29c02dfa3e038ce (patch) | |
| tree | fa5a2a3f827cbe0644234f11acb3f07583954c26 /shell.nix | |
| parent | 8f36af8409ab83286f52fddbbb9aca7dccb694e0 (diff) | |
| parent | 7ab490254364e3c4d91748bbd17e8475ad090979 (diff) | |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'shell.nix')
| -rw-r--r-- | shell.nix | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,14 +1,16 @@ { avr ? true, arm ? true, teensy ? true }: let # We specify sources via Niv: use "niv update nixpkgs" to update nixpkgs, for example. - sources = import ./nix/sources.nix {}; - pkgs = import sources.nixpkgs {}; + sources = import ./nix/sources.nix { }; + pkgs = import sources.nixpkgs { }; + + poetry2nix = pkgs.callPackage (import sources.poetry2nix) { }; # Builds the python env based on nix/pyproject.toml and # nix/poetry.lock Use the "poetry update --lock", "poetry add # --lock" etc. in the nix folder to adjust the contents of those # files if the requirements*.txt files change - pythonEnv = pkgs.poetry2nix.mkPoetryEnv { + pythonEnv = poetry2nix.mkPoetryEnv { projectDir = ./nix; }; in |
