mirror of
https://github.com/urbit/shrub.git
synced 2024-11-29 14:57:12 +03:00
edd57d380d
- Fixes the IPC bug - Fixes the terminfo bug - Moves the OSX SDK out of our nixcrpkgs fork. - Vendor nixcrpkgs instead of having it be a submodule.
55 lines
1.2 KiB
Nix
55 lines
1.2 KiB
Nix
{ nixpkgs }:
|
|
|
|
let
|
|
native_base = {
|
|
inherit nixpkgs;
|
|
|
|
is_cross = false;
|
|
|
|
default_native_inputs = [
|
|
nixpkgs.bashInteractive
|
|
nixpkgs.binutils
|
|
(nixpkgs.binutils-unwrapped or nixpkgs.binutils)
|
|
nixpkgs.bzip2
|
|
nixpkgs.cmake
|
|
nixpkgs.coreutils
|
|
nixpkgs.diffutils
|
|
nixpkgs.findutils
|
|
nixpkgs.gcc
|
|
nixpkgs.gawk
|
|
nixpkgs.gnumake
|
|
nixpkgs.gnugrep
|
|
nixpkgs.gnused
|
|
nixpkgs.gnutar
|
|
nixpkgs.gzip
|
|
nixpkgs.ninja
|
|
nixpkgs.patch
|
|
nixpkgs.which
|
|
nixpkgs.xz
|
|
];
|
|
|
|
make_derivation = import ../make_derivation.nix native_base;
|
|
};
|
|
|
|
pkgconf = import ./pkgconf { env = native_base; };
|
|
|
|
wrappers = import ./wrappers { env = native_base; };
|
|
|
|
gnu_config = nixpkgs.fetchgit {
|
|
url = "https://git.savannah.gnu.org/git/config.git";
|
|
rev = "81497f5aaf50a12a9fe0cba30ef18bda46b62959";
|
|
sha256 = "1fq0nki2118zwbc8rdkqx5i04lbfw7gqbsyf5bscg5im6sfphq1d";
|
|
};
|
|
|
|
native = native_base // {
|
|
default_native_inputs = native_base.default_native_inputs ++ [
|
|
pkgconf
|
|
];
|
|
|
|
inherit pkgconf wrappers gnu_config;
|
|
|
|
make_derivation = import ../make_derivation.nix native;
|
|
};
|
|
|
|
in native
|