Commit graph

18 commits

Author SHA1 Message Date
f89c97d3a1 pkgs/mkScriptOverride: init 2024-07-28 23:11:38 +02:00
8c1eb9dec3 pkgs/mkWrappedExecutable: factor out to its own package 2024-07-09 11:47:10 +02:00
6e76c7422a nixos/core: use inline nix-index override
It was used only in this place
2024-07-09 11:22:27 +02:00
28bf1a9a0d pkgs/nix-index: use cnf output similar to default NixOS one 2024-07-09 06:34:48 +02:00
e95279f45c pkgs/top-level: allow overrides through by-name
and check for file existence before using path
2024-07-09 06:34:10 +02:00
89b9624031 pkgs/top-level: fix selfExpr nixpkgsPath argument 2024-07-07 09:30:08 +02:00
10b718fff3 pkgs/overlays/selfExpr: add missing parentheses in generated nix code 2024-07-07 09:08:49 +02:00
a26bb74da1 pkgs/overlays/unstable: pass crossSystem only when needed
that is, only when buildPlatform and hostPlatform
are not identical, fixes difference and build failure
of stdenv, when using through overlay certain odd
packages like `androidStudioPackages.canary`
2024-07-03 23:51:47 +02:00
7f81b391c1 pkgs/overlays/unstable: allow setting unstable revision 2024-07-03 01:01:54 +02:00
bc5c7553db pkgs/overlays/unstable: fix crosscompiling 2024-07-03 00:53:09 +02:00
c62e6901a9 pkgs/nixos-rebuild: fix typo 2024-06-20 21:11:24 +02:00
ecfe787bca pkgs/nixos-rebuild: patch in fallback to nixpkgs input 2024-06-20 20:38:37 +02:00
966d88f2ba pkgs/nixos-rebuild: copy locally and apply my patches
these patches can be found as pull requests in nixpkgs repository
https://github.com/NixOS/nixpkgs/pull/316301
https://github.com/NixOS/nixpkgs/pull/320462
2024-06-20 20:05:30 +02:00
19c4cb4c2f outputs: remove selfPath, but use that method in selfExpr default
by stringifying ./. then appending path, nix adds selfPath (nix-store path) to gcroot of selfPath derivation
2024-06-20 19:33:16 +02:00
9e59fd06af overlays/selfExpr: allow providing options 2024-06-20 18:55:43 +02:00
ba94153c3b flakelike 2024-06-17 07:54:59 +02:00
9cd9d8fe3c pkgs/overlay: create selfExpr
adds a package that references nixpkgs
config of nixpkgs that created it is retained
2024-06-17 07:40:18 +02:00
88f348a2c9 pkgs/overlays: create, move unstable there
also in unstable: use nixpkgs option to define
if unstable nixpkgs expressions should be from
nixos or nixpkgs channel
(default true, use nixos channel)
2024-06-17 07:35:24 +02:00