mirror of
https://github.com/CHN-beta/ufo.git
synced 2024-10-22 19:58:44 +08:00
use native dependencies
This commit is contained in:
parent
312dbd0529
commit
612ef46244
19
flake.lock
19
flake.lock
@ -1013,22 +1013,6 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_5": {
|
||||
"locked": {
|
||||
"lastModified": 1695360818,
|
||||
"narHash": "sha256-JlkN3R/SSoMTa+CasbxS1gq+GpGxXQlNZRUh9+LIy/0=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e35dcc04a3853da485a396bdd332217d0ac9054f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nur": {
|
||||
"locked": {
|
||||
"lastModified": 1695048039,
|
||||
@ -1159,8 +1143,7 @@
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixos": "nixos",
|
||||
"nixpkgs": "nixpkgs_5"
|
||||
"nixos": "nixos"
|
||||
}
|
||||
},
|
||||
"sops-nix": {
|
||||
|
@ -1,15 +1,9 @@
|
||||
{
|
||||
inputs.nixos.url = "github:CHN-beta/nixos";
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
outputs = inputs:
|
||||
let
|
||||
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
|
||||
# pkgs = import inputs.nixpkgs
|
||||
# {
|
||||
# localSystem = { system = "x86_64-linux"; gcc = { arch = "alderlake"; tune = "alderlake"; }; };
|
||||
# config.allowUnfree = true;
|
||||
# };
|
||||
pkgs = inputs.nixos.nixosConfigurations.pc.pkgs.unstablePackages;
|
||||
localPackages = import "${inputs.nixos}/local/pkgs" { inherit pkgs; inherit (inputs.nixpkgs) lib; };
|
||||
in
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user