| 5 Nov 2024 |
| @phaitonican:matrix.org set a profile picture. | 12:52:34 |
| 6 Nov 2024 |
| @peddie:matrix.org left the room. | 12:33:38 |
| seapat joined the room. | 13:46:53 |
| 7 Nov 2024 |
Luke | Redacted or Malformed Event | 04:42:31 |
| @frumon:matrix.org left the room. | 12:28:01 |
| 8 Nov 2024 |
| moved to @amadaluzia:tchncs.de changed their display name from (artur 'manuel) to @amadaluzia:tchncs.de. | 14:29:09 |
| moved to @amadaluzia:tchncs.de changed their display name from @amadaluzia:tchncs.de to moved to @amadaluzia:tchncs.de. | 14:30:33 |
| 9 Nov 2024 |
Zoriot | Hey, how can I allow unfree packages in my unstable flake overlay? | 13:25:00 |
Zoriot | * Hey, how can I allow unfree packages in my unstable flake overlay?
NVM i found a way | 13:37:44 |
Zoriot | * Hey, how can I allow unfree packages in my unstable flake overlay? NVM i found a way
{ config, pkgs, ... }:
let
overlay-unstable = final: prev: {
unstable = import nixpkgs-unstable {
system = "x86_64-linux";
config.allowUnfree = true;
};
};
in
{
nixpkgs.overlays = [ overlay-unstable ];
}
| 13:46:38 |
Zoriot | * Hey, how can I allow unfree packages in my unstable flake overlay? NVM i found a way
{ config, pkgs, ... }:
let
overlay-unstable = final: prev: {
unstable = import nixpkgs-unstable {
system = "x86_64-linux";
config.allowUnfree = true;
};
};
in
{
nixpkgs.overlays = [ overlay-unstable ];
}
| 13:46:55 |
| Niten joined the room. | 20:29:04 |
| Niten changed their display name from Peter to Niten. | 20:30:14 |
| 10 Nov 2024 |
| @metasyntactical:matrix.org joined the room. | 17:44:42 |
| 11 Nov 2024 |
| @swedishhat:matrix.org joined the room. | 01:45:18 |
@swedishhat:matrix.org | I created a post on discourse but I wanted to ask here as well:
I'm trying to set up a dev environment using flakes so that I can develop cores for the MiSTer FPGA project. The project requires version 17.0.2.602 of Quartus Prime, the Intel (né Altera) FPGA IDE.
Nixpkgs-unstable currently references 23.1std.0.991. Is it possible (and reasonable) to somehow adapt quartus.nix so that I can create a flake that uses v17.0.2.602?
| 01:46:37 |
| 12 Nov 2024 |
| @ngn999:matrix.org left the room. | 06:59:25 |
| Luke removed their profile picture. | 17:33:08 |
| Luke set a profile picture. | 17:33:41 |
| Luke removed their profile picture. | 17:34:35 |
| Luke set a profile picture. | 17:35:11 |
| azahi changed their profile picture. | 18:51:18 |
oatmealraisin | Hey all, I'm trying to understand flakes, what is src in mkDerivation? I'm going off this flake to try to generate a pdf output, but the build directory is empty. https://github.com/NixOS/templates/blob/master/pandoc-xelatex/flake.nix | 21:47:50 |
oatmealraisin | Here's my flake.nix : ``` | 21:48:04 |
oatmealraisin | description = "Generator for Playwright test reports";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in
{
devShells.${system}.default = pkgs.mkShell
{
packages = [
pkgs.pandoc
pkgs.texliveFull
pkgs.dejavu_fonts
];
};
packages.${system}.default = pkgs.stdenv.mkDerivation
{
name = "XeLatexReport";
src = "./.";
buildInputs = with pkgs; [
pandoc
texliveFull
dejavu_fonts
];
phases = [ "buildPhase" ];
buildPhase = ''
ls
echo $src
ls $src
pwd
pandoc report.md --pdf-engine xelatex -o report.pdf
'';
installPhase = ''
mkdir -p $out
cp report.pdf $out/
'';
};
};
}
| 21:48:14 |
| 13 Nov 2024 |
Benedikt | In reply to @oatmealraisin:matrix.org
description = "Generator for Playwright test reports";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in
{
devShells.${system}.default = pkgs.mkShell
{
packages = [
pkgs.pandoc
pkgs.texliveFull
pkgs.dejavu_fonts
];
};
packages.${system}.default = pkgs.stdenv.mkDerivation
{
name = "XeLatexReport";
src = "./.";
buildInputs = with pkgs; [
pandoc
texliveFull
dejavu_fonts
];
phases = [ "buildPhase" ];
buildPhase = ''
ls
echo $src
ls $src
pwd
pandoc report.md --pdf-engine xelatex -o report.pdf
'';
installPhase = ''
mkdir -p $out
cp report.pdf $out/
'';
};
};
}
It is probably not working because scr should be a path (i.e. unquote the ./.) | 07:25:14 |
| antono joined the room. | 11:52:10 |
| Inayet joined the room. | 22:15:08 |
| 14 Nov 2024 |
| @undaunted2816:matrix.org joined the room. | 20:47:27 |
| 15 Nov 2024 |
@phaitonican:matrix.org | Redacted or Malformed Event | 03:22:44 |