Skip to content

Instantly share code, notes, and snippets.

@abbradar
Last active August 8, 2016 14:03
Show Gist options
  • Save abbradar/f741717fd650bc9e86219e089bd3a4e8 to your computer and use it in GitHub Desktop.
Save abbradar/f741717fd650bc9e86219e089bd3a4e8 to your computer and use it in GitHub Desktop.
diff --git a/nixos/modules/system/boot/plymouth.nix b/nixos/modules/system/boot/plymouth.nix
index 60a587a..7216c20 100644
--- a/nixos/modules/system/boot/plymouth.nix
+++ b/nixos/modules/system/boot/plymouth.nix
@@ -90,12 +90,15 @@ in
copy_bin_and_libs ${pkgs.plymouth}/bin/plymouthd
copy_bin_and_libs ${pkgs.plymouth}/bin/plymouth
+ echo "hello, 1"
moduleName="$(sed -n 's,ModuleName *= *,,p' ${themesEnv}/share/plymouth/themes/${cfg.theme}/${cfg.theme}.plymouth)"
+ echo "hello, 2"
mkdir -p $out/lib/plymouth/renderers
cp ${plymouth}/lib/plymouth/{text,details,$moduleName}.so $out/lib/plymouth
cp ${plymouth}/lib/plymouth/renderers/{drm,frame-buffer}.so $out/lib/plymouth/renderers
+ echo "hello, 3"
mkdir -p $out/share/plymouth/themes
cp ${plymouth}/share/plymouth/plymouthd.defaults $out/share/plymouth
cp -r ${themesEnv}/share/plymouth/themes/{text,details,${cfg.theme}} $out/share/plymouth/themes
@@ -103,7 +106,9 @@ in
'';
boot.initrd.extraUtilsCommandsTest = ''
+ echo "hello, 4"
$out/bin/plymouthd --help >/dev/null
+ echo "hello, 5"
$out/bin/plymouth --help >/dev/null
'';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment