custom nix

main
Brett 2024-11-21 00:58:16 -05:00
parent 3610837803
commit 29286e66da
4 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.25) cmake_minimum_required(VERSION 3.25)
include(FetchContent) include(FetchContent)
set(BLT_GRAPHICS_VERSION 1.1.3) set(BLT_GRAPHICS_VERSION 1.1.4)
set(BLT_GRAPHICS_TEST_VERSION 0.0.1) set(BLT_GRAPHICS_TEST_VERSION 0.0.1)
project(BLT_WITH_GRAPHICS VERSION ${BLT_GRAPHICS_VERSION}) project(BLT_WITH_GRAPHICS VERSION ${BLT_GRAPHICS_VERSION})

0
build_emscript.sh Normal file → Executable file
View File

View File

@ -1,6 +1,9 @@
{ pkgs ? (import <nixpkgs> { { pkgs ? (import <nixpkgs> {
config.allowUnfree = true; config.allowUnfree = true;
config.segger-jlink.acceptLicense = true; config.segger-jlink.acceptLicense = true;
}), customPkgs ? (import /home/brett/my-nixpkgs {
config.allowUnfree = true;
config.segger-jlink.acceptLicense = true;
}), ... }: }), ... }:
pkgs.mkShell pkgs.mkShell
{ {
@ -10,7 +13,8 @@ pkgs.mkShell
clang clang
emscripten emscripten
ninja ninja
jetbrains.clion customPkgs.jetbrains.clion
#clion = import ~/my-nixpkgs/pkgs/applications/editors/jetbrains {};
renderdoc renderdoc
valgrind valgrind
]; ];

0
resources/fonts/a.out Normal file → Executable file
View File