Skip to content

Instantly share code, notes, and snippets.

@sheeldotme
Created May 11, 2019 21:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sheeldotme/034ca60a28e4db6f9af511a9e7e1db64 to your computer and use it in GitHub Desktop.
Save sheeldotme/034ca60a28e4db6f9af511a9e7e1db64 to your computer and use it in GitHub Desktop.
(self: super: {
nodejs-12_x = (super.callPackage <nixpkgs/pkgs/development/web/nodejs/nodejs.nix> {
libuv = super.libuv.overrideAttrs (oldAttrs: rec {
version = "1.28.0";
src = super.fetchFromGitHub {
owner = "libuv";
repo = "libuv";
rev = "v1.28.0";
sha256 = "0l0gx69sdy3sv3pirjbca2ws54n9d83mj0j96h77k0ncywimvi64";
};
});
openssl = super.openssl_1_1;
}) {
version = "12.2.0";
sha256 = "10vr8yqrvdmcaszg7l7cjchzzik709vcygcnpkjf2sjhz929glf5";
};
})
let
pkgs = import <nixpkgs> {
overlays = [
import ./overlay.nix
];
};
in
pkgs.mkShell {
nativeBuildInputs = [ pkgs.nodejs-12_x ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment