save works
This commit is contained in:
parent
f4b1ba4cd7
commit
acfbec875b
51 changed files with 622 additions and 1175 deletions
|
|
@ -27,11 +27,35 @@
|
|||
xpkgs = import ./nixSupport/default.nix {
|
||||
inherit pkgs myCommitId;
|
||||
};
|
||||
appImageScriptContent = builtins.readFile ./tools/appimage/entry.sh;
|
||||
appImageEntryPackage = pkgs.writeShellApplication {
|
||||
name = "xce";
|
||||
runtimeInputs = with pkgs; [
|
||||
xpkgs.xcecore
|
||||
coreutils-full
|
||||
which
|
||||
bash
|
||||
gzip
|
||||
glow
|
||||
haproxy
|
||||
];
|
||||
text = appImageScriptContent;
|
||||
|
||||
derivationArgs = {
|
||||
postInstall = ''
|
||||
mkdir -p $out/share
|
||||
cp docs/* $out/share/
|
||||
'';
|
||||
};
|
||||
meta = {
|
||||
mainProgram = "xce";
|
||||
};
|
||||
};
|
||||
in rec {
|
||||
packages = pkgs // xpkgs;
|
||||
defaultPackage = xpkgs.xce_debug;
|
||||
packages = pkgs // xpkgs // { xce = appImageEntryPackage; };
|
||||
defaultPackage = xpkgs.xcecore_debug;
|
||||
devShells.default = pkgs.mkShell {
|
||||
nativeBuildInputs = xpkgs.xce.nativeBuildInputs;
|
||||
nativeBuildInputs = xpkgs.xcecore.nativeBuildInputs;
|
||||
};
|
||||
|
||||
devShell = self.devShells.${system}.default;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue