Commit Graph

7 Commits

Author SHA1 Message Date
Connor Garey
619e8f5292
Additions to Nix flake. (#4592)
Added cmake flags as optionals.

Moved X libs into its own list.

Replaced old callPackages.

Moved to let block at top level packages.

Created a function to get the correct attribute set from buildSettings.

.

Import lib

explicitly gave releaseWithDebugInfo callPackage build.

Remove lib output

Prepended pkgsLinux

Formatting.

Remove brace

.

Call the lambda first and get the output after using ()

Added buildDeps

removed fmt and eudev from native

Removed dependencies from devshell and use inputsFrom instead.

Added the inputs for the CMake modules in the derivation inputs.

Changed path and added name.

Added enableSystemLibraries flag

Removed xLibs and added flag for ENABLE_SYSTEM_LIBRARIES

Use sdl3 submodule for compiling locally.

.

.

Formatting.

Building with system libraries enabled.

Added libGL to devshell, added sdl3 and libx11 to buildInputs

Removed comment

Added devshell SDL configuration libs.

.

.

.

.

Use cmakeBool

Made buildInputs with no let in

Removed sdl3

Formatting

.

removed enableTests
2026-06-18 06:13:04 -07:00
Connor Garey
b3a9e2009a
Nix add freetype (#4551)
* Moved system and src into the build lambda

* Added freetype

.
2026-06-10 23:19:25 +03:00
Connor Garey
9a6d2d1553
Bump version from 0.15.1 to 0.16.1 (#4502) 2026-06-01 20:06:09 +03:00
Connor Garey
5f89834cb5
Refactoring of the nix file. (#4494)
* Fix version number.

* Use the packages.x86_64-linux namespace.

* linux. prepend no longer required.

* Created build-shadps4 module.

.

.

.

.

.

.

.

* Move dependency list to generator function parameters.

* Using call package to run builder.

* Pull in matching names and use inherit.

* Paths need to be wrapped in a "".

* Put , on the packages.

* And inherit does not need any , .

* Fixups.

* release and releaseWithDebugInfo now use the same builder.

* Set default pacakge to releaseWtihDebugInfo.

* Rename to build, moved down a directory and deleted modules/

.

* Seperated devshell into shell.nix

.

.

.

.

.

* Double ".nix"

* Nix Formatting.

* Included missing dependencies for shell.

.

.

.

.

* Update Lock file.

* Removed old unused shell.nix.

* Collapse shell and build into flake.nix

.

* Window bar patch

.

.

.

* Removed unused patches list.

* As older nix shell was removed. Also remove old documentation.
2026-05-31 23:56:16 +03:00
Connor Garey
4ce43a6a88
Further additions to flake (#4489)
* Create a mkderivation wrapper lambda.

.

.

* Removed execName

* Call new wrappers instead of duplicated mkDerivation.

* Removed finalAttrs

* Use more semi-colons

* Used clang and the build environment instead of the standard gcc.

* Replaced "git" with current nightly version.

* Automatically pass the required environment variables into the development shell instead of requiring them as part of cmake command.

* Change to an if statement because ! hurts the brain.

* Added perf to devshell package list.

* Added Nix formatter.

.

* Collision with the ++ operator in the environment variable.

* Nix Format.
2026-05-29 22:36:33 +03:00
Connor Garey
1d885f2b5f
Nix flake changes (#4485)
* Changed Release to RelWithDebInfo for CMake flag.

* Added miniz and libressl
2026-05-27 17:34:51 +02:00
Connor Garey
969955b8a0
Addition of Nix flake development shell (#4184)
* Initial devshell creation.

* cmake has a check for clang and therefore override the stdenv.

* Packages from old shell were renamed.

* fixed xcb-util, added libglvnd

* Added sdl3 dependencies provided by the website given on cmake configuration.

* Lock file.

* Nix format.

* Added instructions for entering nix development shell.

.

* Added libuuid

* Added copyright text to flake.nix

* Added flake.lock to REUSE.toml as is a JSON file without comment support.

* Updated instructions to refer to new build name.

* Compiling however not yet correctly linking with debug derivation.

* Hitting installPhase

* Added nix result symlink.

* correctly installs in place

* Added a wrapper to load vulkan and ligl into environment.

* Ensure that the name is applicable to the current project.

.

* Added mesa to LD_LIBRARY_PATH

* game now launching with added X11 libraries.

* Cleanup

Formatting.

Pulled cmakeFlags to top and added releaseWithDebugInfo

Removed LD_LIBRARY_PATH from devshell.

.

* Added options for the different Nix build modes.

* Debug / release mode flag cannot be bundled into one.
2026-03-30 23:35:57 +03:00