Skip to content

Instantly share code, notes, and snippets.

{
allowUnfree = true;
packageOverrides = pkgs_: with pkgs_; {
my_nvim = import ./nvim-config { inherit pkgs ; };
git-config = import ./git-config {
# TODO: how to send nvim instead of my_nvim so the packages are not
# tightly coupled.
inherit (pkgs) stdenv my_nvim;
{stdenv, brightnessctl, i3lock, rofi, termite, libnotify}:
stdenv.mkDerivation rec {
name = "sway-config";
phases = [ "installPhase" ];
src = ./.;
installPhase = ''
{stdenv, less}:
stdenv.mkDerivation rec {
name = "less-config";
phases = [ "buildPhase" "installPhase" ];
src = ./.;
buildInputs = [ less ];
$ /home/kalbasit/.nix-profile/bin/chromium --user-data-dir="${HOME}/.config/chromium/profiles/personal"
[4865:4865:0704/224814.314296:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /nix/store/9fwzw4f91l4di5s5lfggvf51mk152y6c-chromium-67.0.3396.87-sandbox/bin/__chromium-suid-sandbox is owned by root and has mode 4755.
#0 0x55ae3411e67e base::debug::StackTrace::StackTrace()
#1 0x55ae34138a57 logging::LogMessage::~LogMessage()
#2 0x55ae3551d6a5 sandbox::SetuidSandboxHost::PrependWrapper()
#3 0x55ae32d02ee7 content::ZygoteHostImpl::LaunchZygote()
#4 0x55ae33d973de content::(anonymous namespace)::LaunchZygoteHelper()
#5 0x55ae32d016ce content::ZygoteCommunication::Init()
#6 0x55ae32d7ed0f content::CreateGenericZygote()
#7 0x55ae33d97b5d content::ContentMainRunnerImpl::Initialize()
$ ls -la /nix/store/4zd34747fz0ggzzasy4icgn3lmy89pra-gcc-7.3.0-lib/lib/libstdc++.so.6
lrwxrwxrwx 1 root root 19 Dec 31 1969 /nix/store/4zd34747fz0ggzzasy4icgn3lmy89pra-gcc-7.3.0-lib/lib/libstdc++.so.6 -> libstdc++.so.6.0.24
$ nix-env -i /nix/store/4zd34747fz0ggzzasy4icgn3lmy89pra-gcc-7.3.0-lib
installing 'gcc-7.3.0-lib'
building '/nix/store/wr003rnxmahdjbkwd5anlpzfac40d7dj-user-environment.drv'...
created 438 symlinks in user environment
$ ldd /home/kalbasit/.cache/bazel/_bazel_kalbasit/8bf050cfd51ca75fdd52264b88089d84/external/nodejs/node/bin/node
linux-vdso.so.1 (0x00007fffd31be000)
libdl.so.2 => /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib/libdl.so.2 (0x00007fba39eac000)
librt.so.1 => /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib/librt.so.1 (0x00007fba39ca4000)
{
allowUnfree = true;
firefox = {
enableGoogleTalkPlugin = true;
enableAdobeFlash = true;
};
chromium = {
enablePepperFlash = true;
Executed 2 out of 2 tests: 2 tests pass.
There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are.
INFO: Build completed successfully, 22 total actions
installing
post-installation fixup
patching script interpreter paths in /nix/store/dyzj33w9iihw48c6p1kc73sazsm021x7-bazel-0.10.1
checking for references to /tmp in /nix/store/dyzj33w9iihw48c6p1kc73sazsm021x7-bazel-0.10.1...
building '/nix/store/97qs0j9vfh84nc1azr0g5hzpdj321bmi-all.drv'...
created 1662 symlinks in user environment
building '/nix/store/r0i4407rkd5llfck5084s1gcjg87mj2f-user-environment.drv'...
---
layout:
'hcl'
type:
'desktop'
hvm:
'yes'
iommu:
'yes'
slat:
--- /tmp/a 2016-11-20 12:55:30.000000000 -0800
+++ /tmp/b 2017-08-08 10:51:06.760000000 -0700
@@ -2,12 +2,12 @@
pkgbase=uzbl-next-git
pkgrel=1
pkgname=("uzbl-core-next-git" "uzbl-browser-next-git" "uzbl-tabbed-next-git")
-pkgver=v0.9.1.80.g34094fe
+pkgver=v0.9.1.184.g874ad376
arch=("any")
package main
import "net/http"
func main() {
http.Handle("/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Add("Set-Cookie", (&http.Cookie{
Name: "TestCookie",
Value: "domain 1",
Path: "/",