mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 05:44:13 +00:00
d29cd82bfb
`node-packages.nix` was regenerated after having run `generate-node-packages.sh` in order to pick up dependencies for `elm-pages`. In addition, we add `elm`, `elm-review`, and `elm-optimize-level-2` to the `PATH` for `elm-pages` since those are needed at runtime. A patch is also included to fix an issue where files are copied from the `nix-store` as read-only (credit to @bcardiff for that fix). An upstream issue https://github.com/dillonkearns/elm-pages/issues/305 has been opened to track this.
18 lines
541 B
Nix
18 lines
541 B
Nix
# This file has been generated by node2nix 1.11.1. Do not edit!
|
|
|
|
{pkgs ? import <nixpkgs> {
|
|
inherit system;
|
|
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-12_x"}:
|
|
|
|
let
|
|
nodeEnv = import ../../../node-packages/node-env.nix {
|
|
inherit (pkgs) stdenv lib python2 runCommand writeTextFile writeShellScript;
|
|
inherit pkgs nodejs;
|
|
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
|
|
};
|
|
in
|
|
import ./node-packages.nix {
|
|
inherit (pkgs) fetchurl nix-gitignore stdenv lib fetchgit;
|
|
inherit nodeEnv;
|
|
}
|