forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4953913
commit 4f75d24
Showing
5 changed files
with
177 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,3 +110,6 @@ compile_commands.json | |
|
||
# VIA(L) json files that don't belong in QMK repo | ||
via*.json | ||
|
||
# direnv | ||
.direnv/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
description = "qmk dev flake"; | ||
|
||
inputs.nixpkgs.url = "github:nixos/nixpkgs/c0e881852006b132236cbf0301bd1939bb50867e"; | ||
inputs.flake-utils.url = "github:numtide/flake-utils"; | ||
inputs.poetry2nix.url = "github:nix-community/poetry2nix/11c0df8e348c0f169cd73a2e3d63f65c92baf666"; | ||
|
||
outputs = inputs @ { | ||
nixpkgs, | ||
flake-utils, | ||
... | ||
}: | ||
flake-utils.lib.eachDefaultSystem ( | ||
system: let | ||
pkgs = import nixpkgs { | ||
inherit system; | ||
overlays = [ | ||
(final: prev: { | ||
python3 = prev.python3.override { | ||
packageOverrides = self: super: { | ||
tomlkit = super.tomlkit.overridePythonAttrs (old: rec { | ||
version = "0.11.4"; | ||
src = super.fetchPypi { | ||
inherit (old) pname; | ||
inherit version; | ||
sha256 = "sha256-MjWpAQ+uVDI+cnw6wG+3IHUv5mNbNCbjedrsYPvUSoM="; | ||
}; | ||
}); | ||
}; | ||
}; | ||
}) | ||
]; | ||
}; | ||
poetry2nix = import inputs.poetry2nix { | ||
inherit pkgs; | ||
}; | ||
in { | ||
devShell = import ./shell.nix { | ||
inherit pkgs poetry2nix; | ||
}; | ||
} | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters