added default.nix and various ctf examples

This commit is contained in:
Emile Clark-Boman 2025-06-27 03:08:31 +10:00
parent b9c5a5bf3e
commit 89973b803c
6 changed files with 197 additions and 1 deletions

10
default.nix Normal file
View 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