-
Notifications
You must be signed in to change notification settings - Fork 340
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
12924d4
commit 009ab8f
Showing
17 changed files
with
916 additions
and
688 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"bbenoist.Nix" | ||
"jnoortheen.nix-ide" | ||
] | ||
} | ||
}, | ||
|
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
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
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 |
---|---|---|
@@ -1,12 +1,13 @@ | ||
# Nix & devenv | ||
result | ||
.env* | ||
/.env* | ||
.devenv* | ||
/.cache | ||
/.pre-commit-config.yaml | ||
/bin | ||
/include | ||
/lib | ||
pyvenv.cfg | ||
/.direnv | ||
/.venv | ||
|
||
# examples | ||
examples/rust/app/target | ||
|
||
# Python | ||
/.venv | ||
*.pyc |
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
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
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,29 @@ | ||
{ pkgs, inputs }: | ||
|
||
let | ||
python = (pkgs.python3.override { | ||
readline = null; | ||
ncurses = null; | ||
gdbm = null; | ||
sqlite = null; | ||
tzdata = null; | ||
stripConfig = true; | ||
stripIdlelib = true; | ||
stripTests = true; | ||
stripTkinter = true; | ||
rebuildBytecode = false; | ||
stripBytecode = true; | ||
includeSiteCustomize = false; | ||
enableOptimizations = false; | ||
enableLTO = false; | ||
mimetypesSupport = false; | ||
}).overrideAttrs (_: { pname = "python3-minimal"; }); | ||
in | ||
(inputs.poetry2nix.legacyPackages.${pkgs.stdenv.system}.mkPoetryApplication { | ||
projectDir = ./.; | ||
inherit python; | ||
}).overrideAttrs (old: { | ||
makeWrapperArgs = [ | ||
"--set DEVENV_NIX ${inputs.nix.packages.${pkgs.stdenv.system}.nix}" | ||
]; | ||
}) |
Oops, something went wrong.