From 4d64b93d30b67bd432f4e2a24b4f7f6c449c2996 Mon Sep 17 00:00:00 2001 From: Michalex37220 Date: Sat, 24 Oct 2026 22:23:10 +0200 Subject: [PATCH 1/5] first flakes --- shell.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..c9626cb --- /dev/null +++ b/shell.nix @@ -0,0 +1,25 @@ +# I know this shit is deprecated but it work so i don't touch it +{ pkgs ? import {} }: + +let + libs = with pkgs; [ + fontconfig + freetype + libGL + glib + xorg.libX11 + xorg.libICE + xorg.libSM + xorg.libXext + xorg.libXrender + xorg.libxcb + libxkbcommon + libvlc + dotnet-sdk_10 + ]; +in +pkgs.mkShell { + packages = [ pkgs.dotnet-sdk_10 ] ++ libs; + + LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath libs; +} From 56dfb3af3053011486debdece1c0a019cc118739 Mon Sep 17 00:00:00 2001 From: Michalex37220 Date: Sun, 25 Oct 2026 01:22:49 +0200 Subject: [PATCH 2/5] deprecated fix --- shell.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/shell.nix b/shell.nix index c9626cb..f3fecd1 100644 --- a/shell.nix +++ b/shell.nix @@ -1,4 +1,5 @@ # I know this shit is deprecated but it work so i don't touch it +# I fixed the deprecated warning because flakes sucks { pkgs ? import {} }: let @@ -7,12 +8,12 @@ let freetype libGL glib - xorg.libX11 - xorg.libICE - xorg.libSM - xorg.libXext - xorg.libXrender - xorg.libxcb + libX11 + libICE + libSM + libXext + libXrender + libxcb libxkbcommon libvlc dotnet-sdk_10 From 27dbd0c1981e7135ff1d65bf6cbddd14130abb26 Mon Sep 17 00:00:00 2001 From: Michalex37220 Date: Sun, 25 Oct 2026 01:29:54 +0200 Subject: [PATCH 3/5] deprecated fix --- shell.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/shell.nix b/shell.nix index f3fecd1..10a7079 100644 --- a/shell.nix +++ b/shell.nix @@ -1,5 +1,4 @@ -# I know this shit is deprecated but it work so i don't touch it -# I fixed the deprecated warning because flakes sucks +# I fixed the deprecated warning but flakes sucks { pkgs ? import {} }: let @@ -8,6 +7,8 @@ let freetype libGL glib + + # X11 package to render app if you don't use wayland libX11 libICE libSM @@ -15,10 +16,16 @@ let libXrender libxcb libxkbcommon + + # lib used to play song libvlc + + # install sdk if you don't already have dotnet 10 installed dotnet-sdk_10 ]; in + +# use the dotnet package if it's already installed pkgs.mkShell { packages = [ pkgs.dotnet-sdk_10 ] ++ libs; From 7f708e96e43641a4c0828854bb27ecd76547a8ba Mon Sep 17 00:00:00 2001 From: Michalex37220 Date: Sun, 25 Oct 2026 01:38:21 +0200 Subject: [PATCH 4/5] commentary fixed --- shell.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index 10a7079..ca7d87a 100644 --- a/shell.nix +++ b/shell.nix @@ -1,4 +1,5 @@ -# I fixed the deprecated warning but flakes sucks +# flakes who automaticly create a shell-nix with all the necessary packages + { pkgs ? import {} }: let From 3793ce788dade2d6a42d56389809742d430c9aa1 Mon Sep 17 00:00:00 2001 From: Michalex37220 Date: Sun, 25 Oct 2026 01:38:50 +0200 Subject: [PATCH 5/5] commentary fixed --- shell.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/shell.nix b/shell.nix index ca7d87a..bed97eb 100644 --- a/shell.nix +++ b/shell.nix @@ -1,4 +1,5 @@ # flakes who automaticly create a shell-nix with all the necessary packages +# Flakes sucks BTW { pkgs ? import {} }: