Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
757 B · 30 lines
Nix
at llvm-cleanup
12345678910111213141516171819202122232425262728293031{ stdenv, lib, ruby, callPackage, ... }:let mkDerivation = {name, ...}@argSet: derivation { inherit name; text = (builtins.toJSON (lib.filterAttrs ( n: v: builtins.any (x: x == n) ["name" "system"]) argSet)); builder = stdenv.shell; args = [ "-c" "echo $(<$textPath) > $out"]; system = stdenv.hostPlatform.system; passAsFile = ["text"]; }; fetchurl = {url?"", urls ? [],...}: "fetchurl:${if urls == [] then url else builtins.head urls}";
stdenv' = stdenv // { inherit mkDerivation; stubbed = true; }; ruby' = ruby // { stdenv = stdenv'; stubbed = true; };in { ruby = ruby'; buildRubyGem = callPackage ../gem { inherit fetchurl; ruby = ruby'; }; stdenv = stdenv'; }