pkgsets: remove haskell, rustpkgs and uniProgs.
This commit is contained in:
parent
2a49bbe041
commit
9db889ce0d
4 changed files with 0 additions and 85 deletions
|
@ -1,17 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
fn,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
config.machine.pkgsets.haskell.pkgwrap = pkgs.haskellPackages.ghcWithPackages (
|
||||
pkgs: (fn.pkgFilter config.machine.pkgsets.haskell.pkgs)
|
||||
);
|
||||
config.machine.pkgsets.haskell.pkgs = with pkgs.haskellPackages; [
|
||||
hindent
|
||||
mtl
|
||||
random
|
||||
];
|
||||
}
|
|
@ -1,59 +0,0 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
mozRust =
|
||||
with builtins;
|
||||
(map (
|
||||
p:
|
||||
import (
|
||||
(fetchTarball {
|
||||
url = "https://github.com/mozilla/nixpkgs-mozilla/archive/e912ed4.tar.gz";
|
||||
sha256 = "08fvzb8w80bkkabc1iyhzd15f4sm7ra10jn32kfch5klgl0gj3j3";
|
||||
})
|
||||
+ p
|
||||
)
|
||||
))
|
||||
[
|
||||
(toPath "/lib-overlay.nix")
|
||||
(toPath "/rust-overlay.nix")
|
||||
];
|
||||
stablepkgs = import <nixos-stable> { overlays = mozRust; };
|
||||
|
||||
# https://rust-lang.github.io/rustup-components-history
|
||||
nightly = stablepkgs.rustChannelOf {
|
||||
date = "2020-06-10";
|
||||
channel = "nightly";
|
||||
};
|
||||
rustNightly = {
|
||||
rustc =
|
||||
nightly.rust.override {
|
||||
extensions = [
|
||||
"clippy-preview"
|
||||
"rls-preview"
|
||||
"rust-analysis"
|
||||
"rust-src"
|
||||
"rustfmt-preview"
|
||||
];
|
||||
}
|
||||
// {
|
||||
src = nightly.rust-src;
|
||||
};
|
||||
inherit (nightly) cargo;
|
||||
};
|
||||
rustPNightly = stablepkgs.recurseIntoAttrs (
|
||||
stablepkgs.makeRustPlatform {
|
||||
inherit (rustNightly) rustc cargo;
|
||||
}
|
||||
);
|
||||
in
|
||||
{
|
||||
config.machine.pkgsets.rustpkgs.pkgs =
|
||||
(with stablepkgs; [
|
||||
diesel-cli
|
||||
carnix
|
||||
rustracer
|
||||
])
|
||||
++ (with rustNightly; [
|
||||
rustc
|
||||
cargo
|
||||
]);
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
config.machine.pkgsets.uniProgs.pkgs = with pkgs; [ qucs ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue