aboutsummaryrefslogtreecommitdiff
path: root/modules/pkgs/postcss-cli
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2018-06-11 01:03:46 +0300
committerIgor Pashev <pashev.igor@gmail.com>2018-06-11 01:03:46 +0300
commit3a29aab877dce4276e2ca427f36c9fcc1c450c99 (patch)
tree93836b8a22e62b0d00361eb930124b4ba876ea50 /modules/pkgs/postcss-cli
parent7a7770d17d643885448a8c32f6fac2ca45f1d4fc (diff)
downloadnixsap-3a29aab877dce4276e2ca427f36c9fcc1c450c99.tar.gz
Update Js packages for Node.js 8 and naughty npm 5
Diffstat (limited to 'modules/pkgs/postcss-cli')
-rwxr-xr-xmodules/pkgs/postcss-cli/generate.sh2
-rw-r--r--modules/pkgs/postcss-cli/main.nix2
-rw-r--r--modules/pkgs/postcss-cli/node-packages.nix2
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/pkgs/postcss-cli/generate.sh b/modules/pkgs/postcss-cli/generate.sh
index dbfef37..16d4673 100755
--- a/modules/pkgs/postcss-cli/generate.sh
+++ b/modules/pkgs/postcss-cli/generate.sh
@@ -1,4 +1,4 @@
#!/bin/sh
-node2nix --flatten -i main.json -c main.nix
+node2nix -8 --bypass-cache --flatten -i main.json -c main.nix
diff --git a/modules/pkgs/postcss-cli/main.nix b/modules/pkgs/postcss-cli/main.nix
index e635774..fa82945 100644
--- a/modules/pkgs/postcss-cli/main.nix
+++ b/modules/pkgs/postcss-cli/main.nix
@@ -2,7 +2,7 @@
{pkgs ? import <nixpkgs> {
inherit system;
- }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-4_x"}:
+ }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
let
nodeEnv = import ./node-env.nix {
diff --git a/modules/pkgs/postcss-cli/node-packages.nix b/modules/pkgs/postcss-cli/node-packages.nix
index 1190cce..25630a5 100644
--- a/modules/pkgs/postcss-cli/node-packages.nix
+++ b/modules/pkgs/postcss-cli/node-packages.nix
@@ -1838,6 +1838,6 @@ in
license = "MIT";
};
production = true;
- bypassCache = false;
+ bypassCache = true;
};
} \ No newline at end of file