mirror of
https://git.madhouse-project.org/algernon/iocaine.git
synced 2025-02-08 18:56:18 +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";
|
||||
copyToRoot = pkgs.buildEnv {
|
||||
name = "image-root";
|
||||
paths = [ self.packages.${pkgs.hostPlatform.system}.iocaine ];
|
||||
paths = [ self.packages.${pkgs.hostPlatform.system}.iocaine-static ];
|
||||
pathsToLink = [ "/bin" ];
|
||||
};
|
||||
config = {
|
||||
|
|
|
@ -4,4 +4,5 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
_: _final: prev: {
|
||||
iocaine = prev.callPackage ./iocaine.nix { };
|
||||
iocaine-static = prev.pkgsStatic.callPackage ./iocaine.nix { };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue