summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Segundo2024-02-25 22:20:12 +0100
committerChristian Segundo2024-02-25 22:47:26 +0100
commit871f9b615fbef8010f7870be5c3f0422eb17113f (patch)
tree8e5d30976b73164bdfac295f19d80d536d330377
parent94178bd64a18db3f551cdf794d537d1429082cd7 (diff)
downloadpkgs-master.tar.gz
prettify :DHEADmaster
-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}"