diff --git a/default.nix b/default.nix index 8fb79ee..557158f 100644 --- a/default.nix +++ b/default.nix @@ -17,7 +17,7 @@ in rec { name = "nixui"; src = [ tarball ]; buildInputs = nodePackages.nativeDeps."nixui" or []; - deps = [ nodePackages.underscore nodePackages.nedb nodePackages.open ]; + deps = [ nodePackages.underscore nodePackages.nedb ]; peerDependencies = []; passthru.names = [ "nixui" ]; }; diff --git a/node.nix b/node.nix index 28f3977..fd2e346 100644 --- a/node.nix +++ b/node.nix @@ -489,21 +489,6 @@ passthru.names = [ "nedb" ]; }; "nedb" = self.by-version."nedb"."1.0.2"; - by-spec."open"."0.0.5" = - self.by-version."open"."0.0.5"; - by-version."open"."0.0.5" = self.buildNodePackage { - name = "open-0.0.5"; - bin = false; - src = fetchurl { - url = "http://registry.npmjs.org/open/-/open-0.0.5.tgz"; - name = "open-0.0.5.tgz"; - sha1 = "42c3e18ec95466b6bf0dc42f3a2945c3f0cad8fc"; - }; - deps = { - }; - peerDependencies = []; - }; - "open" = self.by-version."open"."0.0.5"; by-spec."samsam"."~1.1" = self.by-version."samsam"."1.1.2"; by-version."samsam"."1.1.2" = lib.makeOverridable self.buildNodePackage { diff --git a/package.json b/package.json index c82752f..5bdf89c 100644 --- a/package.json +++ b/package.json @@ -23,8 +23,7 @@ }, "dependencies": { "underscore": "^1.6.0", - "nedb": "~1.0.0", - "open": "~0.0.3" + "nedb": "~1.0.0" }, "devDependencies": { "mocha": "~1.21.0", diff --git a/src/helper.js b/src/helper.js deleted file mode 100644 index 71e4e16..0000000 --- a/src/helper.js +++ /dev/null @@ -1,5 +0,0 @@ -var open = require('open'); - -exports.openFileWithDefault = function (file) { - open(file); -}; diff --git a/src/package-dialog.html b/src/package-dialog.html index 53cd1e9..373a99d 100644 --- a/src/package-dialog.html +++ b/src/package-dialog.html @@ -33,7 +33,7 @@ - + @@ -156,7 +156,7 @@ - +