Skip to content

Commit

Permalink
nix-packaging: buildGoPackage no longer produces the $bin output
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Thomsen committed May 13, 2020
1 parent c66dbfc commit f3719f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nix-packaging/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ buildGoPackage rec {
cp -v $src/data/*.nix $lib
'';

outputs = [ "out" "bin" "lib" ];
outputs = [ "out" "lib" ];

meta = {
homepage = "https://github.com/dbcdk/morph";
Expand Down
6 changes: 3 additions & 3 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ let
packagingOut = "./nix-packaging";

shellHook = ''
if [[ -f ./result-bin/bin/morph ]]; then
if [[ -f ./result/bin/morph ]]; then
if [[ `${which} morph 2>&1 >/dev/null` ]]; then
export PATH=$PATH:$(pwd)/result-bin/bin
export PATH=$PATH:$(pwd)/result/bin
fi
source <(morph --completion-script-bash)
fi
Expand Down Expand Up @@ -38,7 +38,7 @@ let
outpath="$(readlink -f ${packagingOut})/deps.nix"
${nix}/bin/nix-build -E 'with import <nixpkgs> {};
callPackage ./nix-packaging/default.nix {}' -A bin $@
callPackage ./nix-packaging/default.nix {}' -A out $@
make-env
'';
Expand Down

0 comments on commit f3719f2

Please sign in to comment.