Skip to content

Instantly share code, notes, and snippets.

@brainrake
Created May 4, 2023 20:18
Show Gist options
  • Save brainrake/f9748391657e7be60d1062a8f5b906a4 to your computer and use it in GitHub Desktop.
Save brainrake/f9748391657e7be60d1062a8f5b906a4 to your computer and use it in GitHub Desktop.
nodejs-12_x
{ hostPkgs ? import <nixpkgs> { }, ... }:
let
src = hostPkgs.fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
rev = "1db42b7fe3878f3f5f7a4f2dc210772fd080e205";
sha256 = "sha256-8LEHoYSJiL901bTMVatq+rf8y7QtWuZhwwpKE2fyaRY=";
};
pkgs = import src { };
in
pkgs.stdenv.mkDerivation {
name = "shell";
buildInputs = [ pkgs.nodejs-12_x ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment