mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: moved pin away from inputs
This commit is contained in:
parent
2c01e142d0
commit
717bb367e7
3 changed files with 30 additions and 64 deletions
|
|
@ -24,14 +24,36 @@
|
|||
# extend pkgs with my custom set
|
||||
(_: _: { myPkgs = self'.packages; })
|
||||
|
||||
# resolve explicitly pinned pkg sets as attributes
|
||||
(_: _: {
|
||||
ghc-pin = inputs'.ghc-pin.legacyPackages;
|
||||
alt-ergo-pin = import inputs.alt-ergo-pin {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
neovim-pin = inputs'.neovim-pin.legacyPackages;
|
||||
# resolve pinned pkg sets as attributes
|
||||
(_: prev: {
|
||||
|
||||
# stackage LTS 22.22 / ghc965 (May 19 2024) / hls 2.8.0.0
|
||||
ghc-pin = import (prev.fetchFromGitHub {
|
||||
owner = "NixOS";
|
||||
repo = "nixpkgs";
|
||||
rev = "1faadcf5147b9789aa05bdb85b35061b642500a4";
|
||||
hash = "sha256-KTUFPrsI0YW/S8ZcbIAXnWI2BiGm/IGqNAFco88lBYU=";
|
||||
}) { inherit system; };
|
||||
|
||||
alt-ergo-pin =
|
||||
import
|
||||
(prev.fetchFromGitHub {
|
||||
owner = "NixOS";
|
||||
repo = "nixpkgs";
|
||||
rev = "1b95daa381fa4a0963217a5d386433c20008208a";
|
||||
hash = "sha256-vwEtkxIEQjymeTk89Ty1MGfRVSWL1/3j1wt5xB5ua88=";
|
||||
})
|
||||
{
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
|
||||
neovim-pin = import (prev.fetchFromGitHub {
|
||||
owner = "NixOS";
|
||||
repo = "nixpkgs";
|
||||
rev = "6132b0f6e344ce2fe34fc051b72fb46e34f668e0";
|
||||
hash = "sha256-7R2ZvOnvd9h8fDd65p0JnB7wXfUvreox3xFdYWd1BnY=";
|
||||
}) { inherit system; };
|
||||
})
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue