fix again

This commit is contained in:
dusk 2021-07-24 20:01:36 +03:00
parent 98e8ff16b2
commit 111849d9a4
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
5 changed files with 16 additions and 9 deletions

View File

@ -100,9 +100,11 @@
"flake-compat": "flake-compat",
"naersk": "naersk",
"nixpkgs": [
"digga",
"nixpkgs"
],
"utils": [
"digga",
"flake-utils"
]
},
@ -163,6 +165,7 @@
},
"original": {
"owner": "divnix",
"ref": "main",
"repo": "digga",
"type": "github"
}
@ -201,6 +204,7 @@
"flake-utils-plus": {
"inputs": {
"flake-utils": [
"digga",
"flake-utils"
]
},
@ -312,9 +316,11 @@
"nixos-generators": {
"inputs": {
"nixlib": [
"digga",
"nixlib"
],
"nixpkgs": [
"digga",
"blank"
]
},

View File

@ -10,7 +10,7 @@
nixos.url = "nixpkgs/nixos-unstable";
latest.url = "nixpkgs";
digga.url = "github:divnix/digga";
digga.url = "github:divnix/digga/main";
digga.inputs.nixpkgs.follows = "nixos";
digga.inputs.nixlib.follows = "nixos";
digga.inputs.home-manager.follows = "home";

View File

@ -1 +0,0 @@
[ ./security/mitigations.nix ]

View File

@ -1,7 +1,7 @@
{ self, inputs, config, pkgs, lib, ourLib, ... }:
{ self, inputs, config, pkgs, lib, ... }:
let
inherit (lib) fileContents mkIf;
pkgBin = ourLib.pkgBinNoDep pkgs;
pkgBin = lib.our.pkgBinNoDep pkgs;
coreBin = v: "${pkgs.coreutils}/bin/${v}";
nixBin = "${config.nix.package}/bin/nix";
@ -143,9 +143,11 @@ in
nix =
let
registry =
builtins.mapAttrs
(_: v: { flake = v; })
(lib.filterAttrs (_: v: v ? outputs) inputs);
builtins.removeAttrs
(builtins.mapAttrs
(_: v: { flake = v; })
(lib.filterAttrs (_: v: v ? outputs) inputs))
[ "bud" ];
in
{
autoOptimiseStore = true;

View File

@ -1,8 +1,8 @@
{ config, pkgs, lib, ourLib, ... }:
{ config, pkgs, lib, ... }:
let
inherit (lib) mapAttrs' nameValuePair;
inherit (builtins) readDir fetchGit;
pkgBin = ourLib.pkgBinNoDep pkgs;
pkgBin = lib.our.pkgBinNoDep pkgs;
nixosConfig = config;
in