summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgs/aws-console/default.nix11
1 files changed, 2 insertions, 9 deletions
diff --git a/pkgs/aws-console/default.nix b/pkgs/aws-console/default.nix
index 4e055a4..09103da 100644
--- a/pkgs/aws-console/default.nix
+++ b/pkgs/aws-console/default.nix
@@ -1,11 +1,5 @@
{ stdenv, lib, makeWrapper, jq, curl }:
-let
- buildInputs = [
- curl
- jq
- ];
-in
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
name = "aws-console";
version = "1.0.0";
@@ -15,7 +9,7 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ makeWrapper ];
- buildInputs = buildInputs;
+ buildInputs = [ curl jq ];
postInstall = ''
mkdir -p $out/bin
@@ -23,7 +17,6 @@ stdenv.mkDerivation {
chmod +x $out/bin/aws-console
'';
-
postFixup = ''
wrapProgram $out/bin/aws-console \
--prefix PATH : "${lib.makeBinPath buildInputs}"