.envrc used by direnv to automatically load the environment using Nix. If you have Nix installed but not direnv, then simply running nix-shell should give you the environment described in shell.nix.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # github.com/liamg/aminal/vendor/github.com/go-gl/glfw/v3.2/glfw | |
| Undefined symbols for architecture x86_64: | |
| "_NSDefaultRunLoopMode", referenced from: | |
| __glfwPlatformPollEvents in _x004.o | |
| __glfwPlatformWaitEvents in _x004.o | |
| __glfwPlatformWaitEventsTimeout in _x004.o | |
| "_OBJC_CLASS_$_NSArray", referenced from: | |
| objc-class-ref in _x004.o | |
| "_OBJC_CLASS_$_NSDate", referenced from: | |
| objc-class-ref in _x004.o |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Usage: use_nix [...] | |
| # | |
| # Load environment variables from `nix-shell`. | |
| # If you have a `default.nix` or `shell.nix` one of these will be used and | |
| # the derived environment will be stored at ./.direnv/env-<hash> | |
| # and symlink to it will be created at ./.direnv/default. | |
| # Dependencies are added to the GC roots, such that the environment remains persistent. | |
| # | |
| # Packages can also be specified directly via e.g `use nix -p ocaml`, | |
| # however those will not be added to the GC roots. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use_nix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {stdenv, brightnessctl, i3lock, rofi, termite, libnotify}: | |
| stdenv.mkDerivation rec { | |
| name = "sway-config"; | |
| phases = [ "installPhase" ]; | |
| src = ./.; | |
| installPhase = '' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {stdenv, less}: | |
| stdenv.mkDerivation rec { | |
| name = "less-config"; | |
| phases = [ "buildPhase" "installPhase" ]; | |
| src = ./.; | |
| buildInputs = [ less ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ /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() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| allowUnfree = true; | |
| firefox = { | |
| enableGoogleTalkPlugin = true; | |
| enableAdobeFlash = true; | |
| }; | |
| chromium = { | |
| enablePepperFlash = true; |