This website requires JavaScript.
Explore
Help
Sign in
reo101
/
rix101
Watch
1
Star
0
Fork
You've already forked rix101
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
7cf980d913
rix101
/
pkgs
/
pngpaste
/
systems.nix
3 lines
93 B
Nix
Raw
Normal View
History
Unescape
Escape
refactor(flake)!: export packages using a flake module Also stop passing `outputs` around, prefer `inputs.self` Also put all `auto_` in `readOnly` `internal` options - `autoModules`, `autoConfigurations` and `autoPackages` Do not export packages as overlay (causes an infinite recursion) - this is documented on the two places it has effect on -- in `./overlays/default.nix` and `./modules/flake/configurations.nix` -- in `autoConfigurations` we manually extend `pkgs` with the flake packages Allow packages to say what `systems` they are compatible with - See `./pkgs/swww/systems.nix` - disabled for all systems - See `./pkgs/pngpaste/systems.nix` - enabled only for `darwin` targets
2024-07-29 00:35:14 +02:00
{
lib
,
hostPlatform
,
targetPlatform
,
.
.
.
}:
fix(pngpaste): only compile when both `host` and `target` are `darwin`
2024-07-29 10:15:53 +02:00
hostPlatform
.
isDarwin
&&
targetPlatform
.
isDarwin
Reference in a new issue
Copy permalink