summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix21
1 files changed, 0 insertions, 21 deletions
diff --git a/flake.nix b/flake.nix
deleted file mode 100644
index f4e1616..0000000
--- a/flake.nix
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- outputs = { self, nixpkgs }: let
- pkgs = nixpkgs.legacyPackages."x86_64-linux";
- in {
- devShells."x86_64-linux".default = pkgs.mkShell {
- buildInputs = [ pkgs.SDL2 ];
- nativeBuildInputs = [
- pkgs.gcc-arm-embedded
- pkgs.gdb
- pkgs.pkg-config
- (pkgs.python39.withPackages (py: [ py.numpy py.pillow ]))
- ];
-
- shellHook = ''
- export MAKEFLAGS="AR=gcc-ar"
- export CXXFLAGS="-O3 -flto $(pkg-config --cflags sdl2)"
- export LDFLAGS="-O3 -flto $(pkg-config --libs sdl2)"
- '';
- };
- };
-}