añade shenv de altera
This commit is contained in:
parent
d102de290e
commit
dab6bd6dad
|
@ -54,7 +54,7 @@
|
|||
users = {
|
||||
users.fabian = {
|
||||
isNormalUser = true;
|
||||
uid = 1002;
|
||||
uid = 1002; # nunca cambiar mi ID de usuario
|
||||
group = "fabian";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [ "users" "wheel" "networkmanager" "dialout" "libvirtd" ];
|
||||
|
|
36
home/shenvs/altera.nix
Normal file
36
home/shenvs/altera.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib, pkgs, ... }:
|
||||
with lib; {
|
||||
namespaced = true;
|
||||
|
||||
packages = with pkgs; [
|
||||
(quartus-prime-lite.override { supportedDevices = [ "Cyclone V" ]; })
|
||||
];
|
||||
|
||||
# Evita GC
|
||||
hm.xdg.configFile."quartus-inputs".text = let
|
||||
inherit (pkgs) requireFile;
|
||||
homepage = "https://fpgasoftware.intel.com";
|
||||
version = "20.1.1.720";
|
||||
url = "${homepage}/${versions.majorMinor version}/?edition=lite&platform=linux";
|
||||
|
||||
inputs = [
|
||||
(requireFile {
|
||||
name = "QuartusLiteSetup-${version}-linux.run";
|
||||
sha256 = "0mjp1rg312dipr7q95pb4nf4b8fwvxgflnd1vafi3g9cshbb1c3k";
|
||||
inherit url;
|
||||
})
|
||||
|
||||
(requireFile {
|
||||
name = "ModelSimSetup-${version}-linux.run";
|
||||
sha256 = "1cqgv8x6vqga8s4v19yhmgrr886rb6p7sbx80528df5n4rpr2k4i";
|
||||
inherit url;
|
||||
})
|
||||
|
||||
(requireFile {
|
||||
name = "cyclonev-${version}.qdz";
|
||||
sha256 = "11baa9zpmmfkmyv33w1r57ipf490gnd3dpi2daripf38wld8lgak";
|
||||
inherit url;
|
||||
})
|
||||
];
|
||||
in concatStringsSep "\n" inputs;
|
||||
}
|
Loading…
Reference in a new issue