This file contains 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
self: super: | |
{ | |
vimPlugins = super.vimPlugins // { | |
pytest-vim-compiler = super.vimUtils.buildVimPluginFrom2Nix { | |
pname = "pytest-vim-compiler"; | |
version = "2015-05-28"; | |
src = super.fetchFromGitHub { | |
owner = "5long"; | |
repo = "pytest-vim-compiler"; | |
rev = "f7c4cd0302c7baedffb45857e63eb4182d8ac45b"; |
This file contains 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
$ nginx -p $PWD -c nginx.conf -g 'daemon off;' & | |
$ hello=$(nix-build '<nixpkgs>' -A hello --no-out-link) | |
$ nix copy $hello --to http://127.0.0.1:8000 | |
[14 copied (42.4 MiB)] | |
$ nix path-info --sigs -Sh $hello --store http://127.0.0.1:8000 | |
/nix/store/7hv98clggrv5as3b0mr1slr38wwx92cx-hello-2.10 42.4M cache.nixos.org-1:+NSDaEVtUvyS0+2ILrS+wkZ21y4vXi47H4jfXWj6WaFal6eRREgLi7VTAkf1xS+135ThAusW9uxIfGJ9oHx8CA== |
This file contains 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
$ nix copy --to ssh-ng://cache-host |
This file contains 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
diff --git a/pkgs/development/tools/misc/binutils/default.nix b/pkgs/development/tools/misc/binutils/default.nix | |
index 82365d986b8..f2ff6d6508d 100644 | |
--- a/pkgs/development/tools/misc/binutils/default.nix | |
+++ b/pkgs/development/tools/misc/binutils/default.nix | |
@@ -29,10 +29,10 @@ let | |
sha256 = "1kdrz6fki55lm15rwwamn74fnqpy0zlafsida2zymk76n3656c63"; | |
}; | |
# HACK to ensure that we preserve source from bootstrap binutils to not rebuild LLVM | |
- normal-src = stdenv.__bootPackages.binutils-unwrapped.src or (fetchurl { | |
+ normal-src = fetchurl { |
This file contains 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
sandbox = true | |
extra-sandbox-paths = /System/Library/Frameworks /System/Library/PrivateFrameworks /usr/lib /private/tmp /private/var/tmp /usr/bin/env |
This file contains 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
{ makeSetupHook, redis }: | |
makeSetupHook { deps = [ redis ]; } ./setup-hook.sh |
This file contains 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
{ pkgs ? import <nixpkgs> {} }: | |
with pkgs.lib; | |
let | |
mapStdenv = stdenv: x: | |
(x.override { inherit stdenv; }).overrideAttrs (drv: | |
optionalAttrs (drv ? "buildInputs") { | |
buildInputs = map (mapStdenv stdenv) drv.buildInputs; | |
} // |
This file contains 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
#!/usr/bin/env nix-shell | |
#!nix-shell -i runhaskell -p "haskellPackages.ghcWithPackages (p: with p; [ hnix ])" | |
module Main where | |
import Data.Text.IO as T | |
import System.Exit | |
import Nix | |
import Nix.Atoms | |
import Nix.Utils (transport) |
This file contains 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
{ pkgs, ... }: | |
{ | |
nixpkgs.overlays = [ | |
(self: super: | |
{ | |
plex = super.plex.override { inherit (self) plexRaw; }; | |
plexRaw = super.plexRaw.overrideAttrs (drv: rec { | |
name = "plex-${version}"; |
This file contains 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
SYNTHETIC.CONF(5) BSD File Formats Manual SYNTHETIC.CONF(5) | |
NNAAMMEE | |
ssyynntthheettiicc..ccoonnff | |
SSYYNNOOPPSSIISS | |
ssyynntthheettiicc..ccoonnff -- synthetic symbolic link and directory manifest | |
DDEESSCCRRIIPPTTIIOONN |