Commit Graph

4 Commits

Author SHA1 Message Date
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