Skip to content

Instantly share code, notes, and snippets.

@fusion809
Created February 1, 2019 19:27
Show Gist options
  • Select an option

  • Save fusion809/437e361011def183f124f7eb00042643 to your computer and use it in GitHub Desktop.

Select an option

Save fusion809/437e361011def183f124f7eb00042643 to your computer and use it in GitHub Desktop.
[ (self: super:
let
pkgs = self;
inherit (pkgs) lib;
callPackage = lib.callPackageWith (pkgs // builtins.removeAttrs pkgs.xorg [ "callPackage" "newScope" "overrideScope" "packages" ]);
github = /home/fusion809/GitHub;
gitother = github + /others;
gitpkgs = github + /mine/packaging;
forkNixpkgsPath = gitpkgs + /nixpkgs/pkgs;
in with pkgs; {
fork = import forkNixpkgsPath {
config = {
allowUnfree = true;
};
overlays = [ ];
};
stdenv = super.stdenv // { inherit lib; };
lib = super.lib.recursiveUpdate super.lib {
maintainers = {
fusion809 = {
email = "brentonhorne77@gmail.com";
github = "fusion809";
name = "Brenton Horne";
};
};
};
# openraPackages = import (/data/GitHub/others/nixpkgs-msteen/pkgs/games/openra) pkgs;
openraPackages = import (forkNixpkgsPath + /games/openra) pkgs;
openra = openraPackages.engines.release;
vim = callPackage (forkNixpkgsPath + /applications/editors/vim) {
inherit (darwin) cf-private;
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
};
vimHugeX = vim_configurable;
vim_configurable = vimUtils.makeCustomizable (callPackage ( forkNixpkgsPath + /applications/editors/vim/configurable.nix ) {
inherit (darwin.apple_sdk.frameworks) CoreServices Cocoa Foundation CoreData;
inherit (darwin) libobjc cf-private;
gtk2 = if stdenv.isDarwin then gtk2-x11 else gtk2;
gtk3 = if stdenv.isDarwin then gtk3-x11 else gtk3;
});
marvin = callPackage (forkNixpkgsPath + /applications/science/chemistry/marvin) { };
googleearth = callPackage (/home/fusion809/GitHub/mine/packaging/nixpkgs.googleearth-pr/pkgs/applications/misc/googleearth) {};
appimageTools = callPackage (gitother + /nixpkgs-tilpner/pkgs/build-support/appimage) {};
}) ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment