Skip to content

Commit

Permalink
Merge branch 'master' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericson2314 committed Sep 19, 2017
2 parents d4c33d5 + 45e8785 commit c7ca42f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Expand Up @@ -4,7 +4,7 @@

let

version = "2.7.1";
version = "2.8.0";

rpath = stdenv.lib.makeLibraryPath [
alsaLib
Expand Down Expand Up @@ -46,7 +46,7 @@ let
if stdenv.system == "x86_64-linux" then
fetchurl {
url = "https://downloads.slack-edge.com/linux_releases/slack-desktop-${version}-amd64.deb";
sha256 = "1na163lr0lfii9z1v4q9a3scqlaxg0s561a9nhadbqj03k74dw6s";
sha256 = "02khqi0qf8ryj6bkfla95mr3scvb99zrhihwdprdjqpgvy06wqhm";
}
else
throw "Slack is not supported on ${stdenv.system}";
Expand Down
5 changes: 3 additions & 2 deletions pkgs/top-level/splice.nix
Expand Up @@ -43,8 +43,9 @@ let
// (lib.optionalAttrs (buildPkgs ? ${name}) { nativeDrv = buildValue; })
// (lib.optionalAttrs (runPkgs ? ${name}) { crossDrv = runValue; });
# Get the set of outputs of a derivation
getOutputs = value:
lib.genAttrs (value.outputs or []) (output: value.${output});
getOutputs = value: lib.genAttrs
(value.outputs or (lib.optional (value ? out) "out"))
(output: value.${output});
in
# Certain *Cross derivations will fail assertions, but we need their
# nativeDrv. We are assuming anything that fails to evaluate is an
Expand Down

0 comments on commit c7ca42f

Please sign in to comment.