Merge pull request 'made custom packages directory' (#4) from reformat-flake into master

Reviewed-on: #4
This commit is contained in:
JustScreaMy 2024-12-02 19:17:43 +01:00
commit 5fac2a9657
5 changed files with 29 additions and 17 deletions

View file

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1732919362,
"narHash": "sha256-3SxlMD3nSI90+pHOF27SuLEt3+wew8xl+sUJaJMeHOI=",
"lastModified": 1732988076,
"narHash": "sha256-2uMaVAZn7fiyTUGhKgleuLYe5+EAAYB/diKxrM7g3as=",
"owner": "nix-community",
"repo": "disko",
"rev": "b71e3faca99b40fb801f03fd950fbefbbba691a4",
"rev": "2814a5224a47ca19e858e027f7e8bff74a8ea9f1",
"type": "github"
},
"original": {
@ -27,11 +27,11 @@
]
},
"locked": {
"lastModified": 1732884235,
"narHash": "sha256-r8j6R3nrvwbT1aUp4EPQ1KC7gm0pu9VcV1aNaB+XG6Q=",
"lastModified": 1733045511,
"narHash": "sha256-n8AldXJRNVMm2UZ6yN0HwVxlARY2Cm/uhdOw76tQ0OI=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "819f682269f4e002884702b87e445c82840c68f2",
"rev": "4964f3c6fc17ae4578e762d3dc86b10fe890860e",
"type": "github"
},
"original": {
@ -73,11 +73,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1732758367,
"narHash": "sha256-RzaI1RO0UXqLjydtz3GAXSTzHkpb/lLD1JD8a0W4Wpo=",
"lastModified": 1732837521,
"narHash": "sha256-jNRNr49UiuIwaarqijgdTR2qLPifxsVhlJrKzQ8XUIE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "fa42b5a5f401aab8a32bd33c9a4de0738180dc59",
"rev": "970e93b9f82e2a0f3675757eb0bfc73297cc6370",
"type": "github"
},
"original": {
@ -97,11 +97,11 @@
]
},
"locked": {
"lastModified": 1732639391,
"narHash": "sha256-kFtXjoCIqx9xe0ZryPXpqS6l/HVg71aNcuL8Y5e8+pI=",
"lastModified": 1733005589,
"narHash": "sha256-NAym0oWYwKgFuAif6Z7HacU6Su/SJNTW4wEYC5urSYU=",
"owner": "nix-community",
"repo": "plasma-manager",
"rev": "06e3209d11797d9c741e25df06ab61048746bf93",
"rev": "88ca377ff58b5c30a2879745829842554d4b21d5",
"type": "github"
},
"original": {

View file

@ -53,6 +53,16 @@
};
}
);
packages.x86_64-linux =
let
pkgs = import nixpkgs {
system = "x86_64-linux";
allowUnfree = true;
};
in
{
uv-bin = pkgs.callPackage ./packages/uv { };
};
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
};
}

View file

@ -1,6 +1,11 @@
{ ... }:
{ inputs, ... }:
let
self = inputs.self;
in
{
nixpkgs.overlays = [
(import ./uv)
(final: prev: {
uv-bin = self.packages.x86_64-linux.uv-bin;
})
];
}

View file

@ -1,3 +0,0 @@
(final: prev: {
uv-bin = prev.callPackage ./package.nix { };
})