fix???
This commit is contained in:
parent
a9982db2fb
commit
d5a165fb51
|
@ -5,15 +5,8 @@ let
|
|||
|
||||
callPackage = pkgs.lib.callPackageWith (pkgs // self);
|
||||
|
||||
x = callPackage ./pkgs/x { };
|
||||
|
||||
self = {
|
||||
MoonPlus = callPackage ./pkgs/moonplus { };
|
||||
appsluggr = x.appsluggr;
|
||||
johaus = x.johaus;
|
||||
license = x.license;
|
||||
mainsanow = x.mainsanow;
|
||||
prefix = x.prefix;
|
||||
quickserv = x.quickserv;
|
||||
x = callPackage ./pkgs/x { };
|
||||
};
|
||||
in self
|
||||
|
|
|
@ -20,42 +20,8 @@ let
|
|||
allowGoReference = true;
|
||||
|
||||
subPackages = [
|
||||
"cmd/appsluggr"
|
||||
"cmd/johaus"
|
||||
"cmd/license"
|
||||
"cmd/mainsanow"
|
||||
"cmd/prefix"
|
||||
"cmd/quickserv"
|
||||
"./..."
|
||||
];
|
||||
|
||||
outputs = [
|
||||
"out" # keep the default output but don't use it
|
||||
"appsluggr"
|
||||
"johaus"
|
||||
"license"
|
||||
"mainsanow"
|
||||
"prefix"
|
||||
"quickserv"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
dir=$GOPATH/bin
|
||||
install -D $dir/appsluggr $appsluggr/bin/appsluggr
|
||||
install -D $dir/johaus $johaus/bin/johaus
|
||||
install -D $dir/license $license/bin/license
|
||||
install -D $dir/mainsanow $mainsanow/bin/mainsanow
|
||||
install -D $dir/prefix $prefix/bin/prefix
|
||||
install -D $dir/quickserv $quickserv/bin/quickserv
|
||||
# let nix know that everything was fine
|
||||
touch $out
|
||||
'';
|
||||
};
|
||||
|
||||
in {
|
||||
appsluggr = out.appsluggr;
|
||||
johaus = out.johaus;
|
||||
license = out.license;
|
||||
mainsanow = out.mainsanow;
|
||||
prefix = out.prefix;
|
||||
quickserv = out.quickserv;
|
||||
}
|
||||
in out
|
||||
|
|
Loading…
Reference in New Issue