added default.nix and various ctf examples
This commit is contained in:
parent
b9c5a5bf3e
commit
89973b803c
6 changed files with 197 additions and 1 deletions
10
default.nix
Normal file
10
default.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
let
|
||||
sources = import ./nix/sources.nix;
|
||||
pkgs = import sources.nixpkgs {};
|
||||
# Let all API attributes like "poetry2nix.mkPoetryApplication"
|
||||
# use the packages and versions (python3, poetry etc.) from our pinned nixpkgs above
|
||||
# under the hood:
|
||||
poetry2nix = import sources.poetry2nix {inherit pkgs;};
|
||||
myPythonApp = poetry2nix.mkPoetryApplication {projectDir = ./.;};
|
||||
in
|
||||
myPythonApp
|
||||
Loading…
Add table
Add a link
Reference in a new issue