mix old and unstable
This commit is contained in:
18
flake.lock
generated
18
flake.lock
generated
@@ -95,12 +95,28 @@
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"nixpkgs_unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1673914939,
|
||||
"narHash": "sha256-CfsyGi3y/ok7se6wd/OD+F8muVRZ1zYdE/0wsV2C/u8=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "341aa70d1e5098d6c01791e1175baa84793b3aae",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"moz_overlay": "moz_overlay",
|
||||
"nixpkgs_stable_new": "nixpkgs_stable_new",
|
||||
"nixpkgs_stable_old": "nixpkgs_stable_old"
|
||||
"nixpkgs_stable_old": "nixpkgs_stable_old",
|
||||
"nixpkgs_unstable": "nixpkgs_unstable"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
# For some reason the newer one has broken koka/emscripten (probs same change)
|
||||
nixpkgs_stable_new.url = "nixpkgs/nixos-22.11";
|
||||
nixpkgs_stable_old.url = "nixpkgs/nixos-21.11";
|
||||
#nixpkgs.url = "github:NixOS/nixpkgs";
|
||||
nixpkgs_unstable.url = "github:NixOS/nixpkgs";
|
||||
moz_overlay.url = "github:oxalica/rust-overlay";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
outputs = { self, nixpkgs_stable_new, nixpkgs_stable_old, moz_overlay, flake-utils }:
|
||||
outputs = { self, nixpkgs_stable_new, nixpkgs_stable_old, nixpkgs_unstable, moz_overlay, flake-utils }:
|
||||
(flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs_new = import nixpkgs_stable_new {
|
||||
pkgs_new = import nixpkgs_unstable {
|
||||
inherit system;
|
||||
overlays = [ moz_overlay.overlay ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user