| 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 |
@phaitonican:matrix.org | Hello. I am trying to use https://nixos.wiki/wiki/Flutter, but running flutter run inside nix-develop I get this error:
Launching lib/main.dart on Linux in debug mode...
Building Linux application...
CMake Error in CMakeLists.txt:
Imported target "PkgConfig::GTK" includes non-existent path
"/nix/store/l0zdl1j9gc4w9j5b5k725m8fhlvmx7cb-graphite2-1.3.14/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Generate step failed. Build files cannot be regenerated correctly.
Error: Unable to generate build files
Anybody know what I do wrong?
| 03:40:21 |
@phaitonican:matrix.org | It seem "graphite" package misses /include folder.. | 03:42:45 |
@phaitonican:matrix.org | * It seem "graphite2" package misses /include folder.. | 03:43:19 |
@phaitonican:matrix.org | Nevermind. I found issue https://github.com/NixOS/nixpkgs/issues/341147#issuecomment-2359171650 | 03:49:47 |
| 16 Nov 2024 |
| @sheeley:matrix.org left the room. | 02:25:41 |
| poscat joined the room. | 05:54:33 |
Artturin | In reply to @phaitonican:matrix.org It seem "graphite2" package misses /include folder.. It's in the dev output, https://github.com/NixOS/nixpkgs/issues/144170. | 19:45:19 |