git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #42628 from Synthetica9/atom-touchup

atom, atom-beta: nicer fix for #42618

commitd45fe1530fa0033c0b11e9d54791b0baa1b04893 authorxeji <36407913+xeji@users.noreply.github.com> dateTue 26 Jun 2018, 22:04 (8 years ago) parentaeb401d9b69d5e
1 file changed+2−4
pkgs/applications/editors/atom/default.nix+2−4
pkgs/applications/editors/atom/default.nix+2−4
@@ -1,7 +1,7 @@
11{ stdenv, pkgs, fetchurl, lib, makeWrapper, gvfs, atomEnv}:
22
33let
4− common = pname: {version, sha256, beta}: stdenv.mkDerivation rec {
4+ common = pname: {version, sha256}: stdenv.mkDerivation rec {
55 name = "${pname}-${version}";
66 inherit version;
77
@@ -36,7 +36,7 @@ let
3636 --set-rpath "${atomEnv.libPath}" \
3737 $share/resources/app/apm/bin/node
3838 patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
39− $out/share/atom${lib.optionalString beta "-beta"}/resources/app.asar.unpacked/node_modules/symbols-view/vendor/ctags-linux
39+ $share/resources/app.asar.unpacked/node_modules/symbols-view/vendor/ctags-linux
4040
4141 dugite=$share/resources/app.asar.unpacked/node_modules/dugite
4242 rm -f $dugite/git/bin/git
@@ -62,12 +62,10 @@ in stdenv.lib.mapAttrs common {
6262 atom = {
6363 version = "1.28.0";
6464 sha256 = "0k09316897qb9ypkqm6w78nz7sj5385xfdm9bm97m8pka7v61g7h";
65− beta = false;
6665 };
6766
6867 atom-beta = {
6968 version = "1.29.0-beta0";
7069 sha256 = "05xk63wsjfssf8ckph2bgrxaf99fhz3gs8n8pira8cc9yjk7diz7";
71− beta = true;
7270 };
7371}