parent
9fdea1fd17
commit
ebfe621f4c
1 changed files with 16 additions and 17 deletions
|
@ -2,23 +2,22 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
self,
|
self,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
my-package = let
|
version = "1.0.0";
|
||||||
version = "1.0.0";
|
src = ./.;
|
||||||
src = ./.;
|
pname = "my-package";
|
||||||
pname = "my-package";
|
in {
|
||||||
in
|
${pname} = pkgs.beamPackages.mixRelease {
|
||||||
pkgs.beamPackages.mixRelease {
|
inherit pname version src;
|
||||||
inherit pname version src;
|
mixFodDeps = pkgs.beamPackages.fetchMixDeps {
|
||||||
mixFodDeps = pkgs.beamPackages.fetchMixDeps {
|
inherit version src;
|
||||||
inherit version src;
|
pname = "mix-deps-${pname}";
|
||||||
pname = "mix-deps-${pname}";
|
hash = pkgs.lib.fakeSha256;
|
||||||
hash = pkgs.lib.fakeSha256;
|
|
||||||
};
|
|
||||||
# buildInputs = with pkgs; [];
|
|
||||||
# HOME = "$(pwd)";
|
|
||||||
# MIX_XDG = "$HOME";
|
|
||||||
};
|
};
|
||||||
|
# buildInputs = with pkgs; [];
|
||||||
|
# HOME = "$(pwd)";
|
||||||
|
# MIX_XDG = "$HOME";
|
||||||
|
};
|
||||||
|
|
||||||
default = self.packages.${pkgs.system}.my-package;
|
default = self.packages.${pkgs.system}.${pname};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue