-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
30 lines (29 loc) · 796 Bytes
/
flake.nix
File metadata and controls
30 lines (29 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
outputs = { nixpkgs, ... }: let
forAllSystems = p:
nixpkgs.lib.genAttrs [
"i686-linux"
"x86_64-linux"
] (system: p nixpkgs.legacyPackages.${system});
in {
packages = forAllSystems (pkgs: rec {
vulpforth = pkgs.callPackage ./package.nix {
withTarget = "vulpforth";
};
debug = pkgs.callPackage ./package.nix {
withTarget = "vulpforth";
withSstrip = false;
};
zip = pkgs.callPackage ./package.nix {
withTarget = "vulpforth.zip";
};
zipdebug = pkgs.callPackage ./package.nix {
withTarget = "vulpforth.zip";
withSstrip = false;
withUpx = false;
};
default = vulpforth;
});
};
}