mirror of
https://github.com/divnix/digga.git
synced 2024-11-23 03:05:59 +03:00
5a3bae7be5
220: Drop flattenTreeSystem and use custom function for filtering packages r=nrdxp a=Pacman99 I don't think we should flatten the system because if a user doesn't make a package a derivation in pkgs/default.nix we should trust that there is a reason for doing so. So instead this drops the flattenTreeSystem reference(and switches to flake-utils master branch) and replaces its usage with a custom function `filterPackages`. This function filter all packages that match three conditions; - is a derivation - not broken - system is supported In that order as to not cause errors when trying to reference non-derivation meta attributes. And then also just dump *all* packages into legacy packages, so everything else is still accessible. I was considering removing the packages that are already in the packages output in legacyPackages, but I don't think its necessary since nix looks to the packages output first. Co-authored-by: Pacman99 <pachum99@gmail.com>
280 lines
6.9 KiB
JSON
280 lines
6.9 KiB
JSON
{
|
|
"nodes": {
|
|
"ci-agent": {
|
|
"inputs": {
|
|
"flake-compat": [
|
|
"flake-compat"
|
|
],
|
|
"nix-darwin": [
|
|
"darwin"
|
|
],
|
|
"nixos-20_09": [
|
|
"nixos"
|
|
],
|
|
"nixos-unstable": [
|
|
"override"
|
|
],
|
|
"pre-commit-hooks-nix": "pre-commit-hooks-nix"
|
|
},
|
|
"locked": {
|
|
"lastModified": 1615131736,
|
|
"narHash": "sha256-z4Er9Cj3WpBDO/saLxqb7IypEvVP0/1AnO6rY5NB03Y=",
|
|
"owner": "hercules-ci",
|
|
"repo": "hercules-ci-agent",
|
|
"rev": "a1513a51e8efb96e990a562e6e724e17f2789978",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "hercules-ci",
|
|
"repo": "hercules-ci-agent",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"darwin": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"override"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1613595894,
|
|
"narHash": "sha256-MOk/7rCAUB5Lf4GL+HimvyAAZXYEw8gWsq5nW4PPQQA=",
|
|
"owner": "LnL7",
|
|
"repo": "nix-darwin",
|
|
"rev": "5c3146b75d5d478f0693d0ea6c83f1da8382ff56",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "LnL7",
|
|
"repo": "nix-darwin",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"deploy": {
|
|
"inputs": {
|
|
"flake-compat": [
|
|
"flake-compat"
|
|
],
|
|
"naersk": [
|
|
"naersk"
|
|
],
|
|
"nixpkgs": [
|
|
"override"
|
|
],
|
|
"utils": [
|
|
"utils"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1614654775,
|
|
"narHash": "sha256-3mLxoxIXSWUuKE8YgIuqM5AZzXFd1aWxkTlplEDeXIA=",
|
|
"owner": "serokell",
|
|
"repo": "deploy-rs",
|
|
"rev": "6278b9bef5ad624676a565980417cbbef42d5227",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "serokell",
|
|
"repo": "deploy-rs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"devshell": {
|
|
"locked": {
|
|
"lastModified": 1613641255,
|
|
"narHash": "sha256-iSvjFK4WYAKhuXCCtkY7uy/cFQTzS3D3Ml5WZqjEfL0=",
|
|
"owner": "numtide",
|
|
"repo": "devshell",
|
|
"rev": "ff6cffba08600f5b7b43f398fcb58bef023bc4c4",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "numtide",
|
|
"repo": "devshell",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"flake-compat": {
|
|
"flake": false,
|
|
"locked": {
|
|
"lastModified": 1611461076,
|
|
"narHash": "sha256-ad++dTtMNeitUIKi1c66aTrVJOSf+mdZTrGrXzjDr6Q=",
|
|
"owner": "BBBSnowball",
|
|
"repo": "flake-compat",
|
|
"rev": "a565cb46bee9fa856a6c15bc9c3bb947fbb784ec",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "BBBSnowball",
|
|
"ref": "pr-1",
|
|
"repo": "flake-compat",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"home": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"nixos"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1616724076,
|
|
"narHash": "sha256-SwbPXLjN2sLy4NL/GhodiJrdkIVZwGGTGiCN3JxH1cU=",
|
|
"owner": "nix-community",
|
|
"repo": "home-manager",
|
|
"rev": "fedfd430f96695997b3eaf8d7e82ca79406afa23",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nix-community",
|
|
"repo": "home-manager",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"naersk": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"override"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1614785451,
|
|
"narHash": "sha256-TPw8kQvr2UNCuvndtY+EjyXp6Q5GEW2l9UafXXh1XmI=",
|
|
"owner": "nmattia",
|
|
"repo": "naersk",
|
|
"rev": "e0fe990b478a66178a58c69cf53daec0478ca6f9",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nmattia",
|
|
"repo": "naersk",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixos": {
|
|
"locked": {
|
|
"lastModified": 1615797423,
|
|
"narHash": "sha256-5NGDZXPQzuoxf/42NiyC9YwwhwzfMfIRrz3aT0XHzSc=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "266dc8c3d052f549826ba246d06787a219533b8f",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"id": "nixpkgs",
|
|
"ref": "nixos-unstable",
|
|
"type": "indirect"
|
|
}
|
|
},
|
|
"nixos-hardware": {
|
|
"locked": {
|
|
"lastModified": 1615652054,
|
|
"narHash": "sha256-jqXKU8Ovpi7MmPRqGf2FB3QOPcZtGwO2MFc0AYiOPjg=",
|
|
"owner": "nixos",
|
|
"repo": "nixos-hardware",
|
|
"rev": "31f61b90ddb9257b94888ee17ccf96236e180c76",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nixos",
|
|
"repo": "nixos-hardware",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nur": {
|
|
"locked": {
|
|
"lastModified": 1615921934,
|
|
"narHash": "sha256-nURGM869KKA1+c1SHHsXKYcPXhHIuxWBjNXjJ90OzRQ=",
|
|
"owner": "nix-community",
|
|
"repo": "NUR",
|
|
"rev": "faf862e8cf009edfa38ecc61188f7a6ace293552",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"id": "nur",
|
|
"type": "indirect"
|
|
}
|
|
},
|
|
"override": {
|
|
"locked": {
|
|
"lastModified": 1615926763,
|
|
"narHash": "sha256-yeq8A3EPNuQVlsxlEQrIRsklfJwJK0Us6jtcG/u8wNs=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "b702a56d417647de4090ac56c0f18bdc7e646610",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"id": "nixpkgs",
|
|
"type": "indirect"
|
|
}
|
|
},
|
|
"pkgs": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"nixos"
|
|
]
|
|
},
|
|
"locked": {
|
|
"narHash": "sha256-XG4TOZObj2Wd8KiqnHgtlWjjMbJOIJB7+DxUFzMCXw8=",
|
|
"path": "./pkgs",
|
|
"type": "path"
|
|
},
|
|
"original": {
|
|
"path": "./pkgs",
|
|
"type": "path"
|
|
}
|
|
},
|
|
"pre-commit-hooks-nix": {
|
|
"flake": false,
|
|
"locked": {
|
|
"lastModified": 1603721622,
|
|
"narHash": "sha256-tUgyf5eYK5+0A/dvLzbbm4W7icxbpORuFMXiFe5yz+I=",
|
|
"owner": "cachix",
|
|
"repo": "pre-commit-hooks.nix",
|
|
"rev": "efdbd6d28f7f44db3d9f8cf0e0b4cb9db0d259e1",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "cachix",
|
|
"repo": "pre-commit-hooks.nix",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"root": {
|
|
"inputs": {
|
|
"ci-agent": "ci-agent",
|
|
"darwin": "darwin",
|
|
"deploy": "deploy",
|
|
"devshell": "devshell",
|
|
"flake-compat": "flake-compat",
|
|
"home": "home",
|
|
"naersk": "naersk",
|
|
"nixos": "nixos",
|
|
"nixos-hardware": "nixos-hardware",
|
|
"nur": "nur",
|
|
"override": "override",
|
|
"pkgs": "pkgs",
|
|
"utils": "utils"
|
|
}
|
|
},
|
|
"utils": {
|
|
"locked": {
|
|
"lastModified": 1614513358,
|
|
"narHash": "sha256-LakhOx3S1dRjnh0b5Dg3mbZyH0ToC9I8Y2wKSkBaTzU=",
|
|
"owner": "numtide",
|
|
"repo": "flake-utils",
|
|
"rev": "5466c5bbece17adaab2d82fae80b46e807611bf3",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "numtide",
|
|
"repo": "flake-utils",
|
|
"type": "github"
|
|
}
|
|
}
|
|
},
|
|
"root": "root",
|
|
"version": 7
|
|
}
|