Skip to content

Instantly share code, notes, and snippets.

@tailhook
Created October 14, 2015 00:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tailhook/df6a2ed206c6e256dcc3 to your computer and use it in GitHub Desktop.
Save tailhook/df6a2ed206c6e256dcc3 to your computer and use it in GitHub Desktop.
{pkgs, stdenv}:
pkgs.writeTextFile {
name = "brlpdwrapperDCP7030";
destination = "/lib/cups/filter/brlpdwrapperDCP7030";
executable = true;
text = ''
#!/bin/sh
cd /var/lib/printer
export PATH=$PATH:/var/setuid-wrappers
exec ./bin/vagga --no-version-check wrapper
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment