Merge pull request #110 from naguiagahnim/main

Fix Nix impure evaluation problem and update README instructions
This commit is contained in:
Tickbase
2026-04-30 10:34:23 +02:00
committed by GitHub
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -82,10 +82,11 @@ npins add github Novattz creamlinux-installer --branch main
```nix ```nix
let let
sources = import ./npins; sources = import ./npins;
creamlinux = pkgs.callPackage sources.creamlinux-installer {};
in in
{ {
environment.systemPackages = [ creamlinux ]; environment.systemPackages = [
(pkgs.callPackage "${sources.creamlinux-installer}/default.nix" {})
];
} }
``` ```
Those are the recommended methods to add creamlinux-installer to your environment. However, you could also add it as an input of your flake, like so: Those are the recommended methods to add creamlinux-installer to your environment. However, you could also add it as an input of your flake, like so:
@@ -109,6 +110,7 @@ environment.systemPackages = [
(pkgs.callPackage inputs.creamlinux-installer {}) (pkgs.callPackage inputs.creamlinux-installer {})
]; ];
``` ```
Similarly to running the AppImage, you will need to set `WEBKIT_DISABLE_DMABUF_RENDERER=1` if your GPU is from Nvidia in order to run the package.
### Building from Source ### Building from Source
+1 -1
View File
@@ -3,7 +3,7 @@
src = ./.; src = ./.;
patchSassEmbedded = pkgs.writeShellScriptBin "patch-sass-embedded" '' patchSassEmbedded = pkgs.writeShellScriptBin "patch-sass-embedded" ''
NIX_LD="${pkgs.lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker"}" NIX_LD="$(cat ${pkgs.stdenv.cc}/nix-support/dynamic-linker)"
for dart_bin in node_modules/sass-embedded-linux-*/dart-sass/src/dart; do for dart_bin in node_modules/sass-embedded-linux-*/dart-sass/src/dart; do
if [ -f "$dart_bin" ]; then if [ -f "$dart_bin" ]; then
${pkgs.patchelf}/bin/patchelf --set-interpreter "$NIX_LD" "$dart_bin" ${pkgs.patchelf}/bin/patchelf --set-interpreter "$NIX_LD" "$dart_bin"