Compare commits

..

3 commits

Author SHA1 Message Date
04af4df022 lock: update 2025-01-03 03:52:30 +01:00
2d24ce7fd4 pkgs/overlays/cosmic-packages: use unstable-from-source overlay
code here wants to do the same thing as unstable-from-source overlay
2025-01-03 02:30:33 +01:00
0af88c8ae7 pkgs/overlays/unstable-from-source: remove darwin{Sdk; Min}Version from platform 2025-01-03 02:30:33 +01:00
3 changed files with 11 additions and 10 deletions

View file

@ -4,11 +4,11 @@
sha256 = "1rq8mrlmbzpcbv9ys0x88alw30ks70jlmvnfr2j8v830yy5wvw7h"; sha256 = "1rq8mrlmbzpcbv9ys0x88alw30ks70jlmvnfr2j8v830yy5wvw7h";
}; };
nixpkgs = { nixpkgs = {
revision = "1c6e20d41d6a9c1d737945962160e8571df55daa"; revision = "edf04b75c13c2ac0e54df5ec5c543e300f76f1c9";
sha256 = "1cyck9dycldzj5p8p2bz0rhzmdgm75zvmg9afhblm4k9vlr350qq"; sha256 = "0zffg0m7rhdpk94df578wln5lw3plamadac86cd7cfjcb1n13xmm";
}; };
cosmic-modules = { cosmic-modules = {
revision = "86e08fbc79f33f98c00097d6dcabe0e17c20faae"; revision = "c9667d79481c62d9b204f8cb13d043b9b1f5dc05";
sha256 = "1zxv3lx813wvy4d036w5lg34qf51idcbd49fnllfy7vxz2nhbdp1"; sha256 = "1q07p4zicp1bjxwn3n6w48045kd5dabkffzwxydjgjfgrsdkz1f0";
}; };
} }

View file

@ -20,12 +20,11 @@ let
}; };
# Initialize pinned nixpkgs # Initialize pinned nixpkgs
futureNixpkgs = import futureNixpkgsSrc { futureNixpkgs = let
localSystem = self.stdenv.buildPlatform; extended = self.extend (import ./unstable-from-source.nix {
config = self.config; unstableSource = futureNixpkgsSrc;
} // (if self.stdenv.buildPlatform == self.stdenv.hostPlatform then {} else { });
crossSystem = self.stdenv.hostPlatform; in extended.unstable;
});
in in
import "${nixos-cosmic}/pkgs" { import "${nixos-cosmic}/pkgs" {

View file

@ -9,6 +9,8 @@ let
sanitizePlatform = platformConfig: self.lib.removeAttrs platformConfig [ sanitizePlatform = platformConfig: self.lib.removeAttrs platformConfig [
"emulator" "emulator"
"emulatorAvailable" "emulatorAvailable"
"darwinSdkVersion"
"darwinMinVersion"
]; ];
unstablePkgsForNixpkgs = nixpkgs: import unstableSource { unstablePkgsForNixpkgs = nixpkgs: import unstableSource {