flake: remove upstream dependancy

This commit is contained in:
isabel roses 2024-05-14 00:18:19 +01:00
parent 62be37ac4b
commit b472274479
Signed by: isabelroses
GPG key ID: 08A97B9A107A1798
2 changed files with 4 additions and 29 deletions

View file

@ -1,26 +1,6 @@
{ {
"nodes": { "nodes": {
"nixpkgs": { "root": {}
"locked": {
"lastModified": 1715447595,
"narHash": "sha256-VsVAUQOj/cS1LCOmMjAGeRksXIAdPnFIjCQ0XLkCsT0=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "062ca2a9370a27a35c524dc82d540e6e9824b652",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
}, },
"root": "root", "root": "root",
"version": 7 "version": 7

View file

@ -1,18 +1,11 @@
{ {
inputs = { outputs = { self, ... }:
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs =
{ self, nixpkgs, ... }:
let let
forAllSystems = self.lib.genAttrs self.lib.systems.flakeExposed; forAllSystems = self.lib.genAttrs self.lib.systems.flakeExposed;
in in
{ {
lib = import ./lib; lib = import ./lib;
nixPackages = forAllSystems (system: nixpkgs.legacyPackages.${system});
auxPackages = forAllSystems (system: auxPackages = forAllSystems (system:
( (
let requiredVersion = import ./lib/minver.nix; in let requiredVersion = import ./lib/minver.nix; in
@ -42,6 +35,8 @@
) )
); );
legacyPackages = forAllSystems (system: import ./. { inherit system; });
# To test, run nix build .#tests.x86_64-linux.release # To test, run nix build .#tests.x86_64-linux.release
tests = forAllSystems (system: { tests = forAllSystems (system: {
systems = import ./lib/tests/systems.nix; systems = import ./lib/tests/systems.nix;