mirror of
https://git.madhouse-project.org/algernon/iocaine.git
synced 2025-02-12 20:56:20 +01:00
nix: Provide a static build too
While there, make the container use the statically linked package. Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
parent
ea9972dbfc
commit
ddd948171c
2 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,7 @@
|
||||||
tag = "latest";
|
tag = "latest";
|
||||||
copyToRoot = pkgs.buildEnv {
|
copyToRoot = pkgs.buildEnv {
|
||||||
name = "image-root";
|
name = "image-root";
|
||||||
paths = [ self.packages.${pkgs.hostPlatform.system}.iocaine ];
|
paths = [ self.packages.${pkgs.hostPlatform.system}.iocaine-static ];
|
||||||
pathsToLink = [ "/bin" ];
|
pathsToLink = [ "/bin" ];
|
||||||
};
|
};
|
||||||
config = {
|
config = {
|
||||||
|
|
|
@ -4,4 +4,5 @@
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
_: _final: prev: {
|
_: _final: prev: {
|
||||||
iocaine = prev.callPackage ./iocaine.nix { };
|
iocaine = prev.callPackage ./iocaine.nix { };
|
||||||
|
iocaine-static = prev.pkgsStatic.callPackage ./iocaine.nix { };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue