parent
9fdea1fd17
commit
ebfe621f4c
1 changed files with 16 additions and 17 deletions
|
@ -2,13 +2,12 @@
|
|||
pkgs,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
my-package = let
|
||||
}: let
|
||||
version = "1.0.0";
|
||||
src = ./.;
|
||||
pname = "my-package";
|
||||
in
|
||||
pkgs.beamPackages.mixRelease {
|
||||
in {
|
||||
${pname} = pkgs.beamPackages.mixRelease {
|
||||
inherit pname version src;
|
||||
mixFodDeps = pkgs.beamPackages.fetchMixDeps {
|
||||
inherit version src;
|
||||
|
@ -20,5 +19,5 @@
|
|||
# MIX_XDG = "$HOME";
|
||||
};
|
||||
|
||||
default = self.packages.${pkgs.system}.my-package;
|
||||
default = self.packages.${pkgs.system}.${pname};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue