-
Notifications
You must be signed in to change notification settings - Fork 6
/
flake.nix
35 lines (29 loc) · 1.01 KB
/
flake.nix
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
31
32
33
34
35
{
description = "rofi menu generator flake";
inputs = {
nixpkgs.url = "nixpkgs"; # We want to use packages from the binary cache
flake-utils.url = "github:numtide/flake-utils";
};
outputs = inputs@{ self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachSystem [ "x86_64-linux" ] (system: let
pkgs = nixpkgs.legacyPackages.${system};
in rec {
packages.oWxGTK31 = pkgs.callPackage ./wxGTK31.nix {
inherit (pkgs.darwin.stubs) setfile;
inherit (pkgs.darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QTKit AVFoundation AVKit WebKit;
withMesa = true;
withWebKit = true;
withPrivateFonts = true;
withCurl = true;
};
packages.orca-slicer = pkgs.callPackage ./default.nix {
inherit (pkgs.gst_all_1) gstreamer gst-plugins-base gst-plugins-bad;
inherit (packages) oWxGTK31;
};
legacyPackages = packages;
defaultPackage = packages.orca-slicer;
devShell = pkgs.mkShell {
buildInputs = with pkgs; [ git ];
};
});
}