Created
May 24, 2016 10:30
-
-
Save pallavagarwal07/2a4284dcf5299d5c7775995b37360e7f to your computer and use it in GitHub Desktop.
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 = { pkgs }: pkgs.stdenv // | |
{ | |
mkDerivation = args: pkgs.stdenv.mkDerivation (args // | |
{ | |
makeFlags = (if ( args ? makeFlags && args.makeFlags != null ) | |
then args.makeFlags else []) ++ ["-j8" "-l8"]; | |
}); | |
}; | |
allowUnfree = true; | |
packageOverrides = pkgs: with (import ./docker_compose.nix {inherit pkgs;}); rec { | |
sqlite = pkgs.sqlite.override{interactive=true;}; | |
pythonOverride = pkgs.python.override{includeModules=true;}; | |
updateFile = pkgs.writeText "$out/bin/upd" | |
'' | |
#!/usr/bin/env bash | |
nix-env -i all | |
''; | |
myVirtualBox = pkgs.stdenv.lib.overrideDerivation | |
pkgs.linuxPackages.virtualbox (oldAttrs: { | |
extensionPack = pkgs.fetchurl { | |
url = "http://download.virtualbox.org/virtualbox/${pkgs.linuxPackages.virtualbox.version}/Oracle_VM_VirtualBox_Extension_Pack-${pkgs.linuxPackages.virtualbox.version}-104815.vbox-extpack"; | |
sha256 = "0v933g6sk1akfm48xwdd0z61164by7llj8974lriipvz5d2wh6xc"; | |
}; | |
}); | |
all = pkgs.buildEnv { | |
name = "all"; | |
paths = with pkgs; [ | |
pythonOverride sqlite lxappearance | |
bundler_HEAD ruby docker wpsoffice | |
imagemagick parallel python3 neovim | |
myVirtualBox docker_compose | |
scrot pythonPackages.udiskie udisks2 | |
i3lock | |
]; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment