From 871f9b615fbef8010f7870be5c3f0422eb17113f Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Sun, 25 Feb 2024 22:20:12 +0100 Subject: prettify :D --- pkgs/aws-console/default.nix | 11 ++--------- 1 file 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}" -- cgit v1.2.3