!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

877 Members
180 Servers

Load older messages


SenderMessageTime
12 Mar 2025
@elikoga:matrix.orgelikoga

See https://github.com/search?q=android_sdk.accept_license+path%3A*.nix&type=code

For examples of usage. Note: It doesn't have to be in the flake.nix

But if you are using flake tooling, then that file is your entry point to evaluation

Others advised that #users:nixos.org could be more closer related to queries like this

14:34:49
@adam_neverwas:matrix.orgAdam Neverwasooo thanks. its good14:45:27
@adam_neverwas:matrix.orgAdam Neverwasi still have problems, but i could give in the allowunfree too.14:45:53
@adam_neverwas:matrix.orgAdam Neverwasthis git search trick is also nice to have14:46:07
@adam_neverwas:matrix.orgAdam Neverwasat least im on track14:46:24
@vidariondr:matrix.orgvidariondr joined the room.21:07:12
13 Mar 2025
@hive:the-apothecary.club👉@crystallinefire:chat.solarpunk.moe changed their display name from Li-ion to EVA.00:33:23
@hive:the-apothecary.club👉@crystallinefire:chat.solarpunk.moe changed their display name from EVA to EVA-01.00:35:08
@adam_neverwas:matrix.orgAdam Neverwasnix flake update error: path '/nix/store/0ccnxa25whszw7mgbgyzdm4nqc0zwnm8-source/flake.nix' does not exist What do i do in this case?19:18:09
@adam_neverwas:matrix.orgAdam NeverwasI repaired somehow, but i forgot how...19:18:31
@adam_neverwas:matrix.orgAdam Neverwasi have the nix file in the root of the project19:19:14
@elikoga:matrix.orgelikoga git add . and try again? 19:20:00
@adam_neverwas:matrix.orgAdam Neverwas:O19:20:29
@adam_neverwas:matrix.orgAdam NeverwasThnakz19:20:35
@rob.sliwi:matrix.orgrobsliwiLPT: If it's not in version control it's not accessible in the context of the Nix Flake, as the inputs are pure :)19:21:57
@emilazy:matrix.orgemily(unless you have no repository. also, it still uses the working directory copy of files, not what's actually committed or staged, even though it uses the staging area for what files to include.)19:25:01
@elikoga:matrix.orgelikogaWhich the cli tries to indicate to you by describing the repo as "dirty"19:25:57
@adam_neverwas:matrix.orgAdam Neverwasthanks, went into the knowedge19:42:44
14 Mar 2025
@ehuelsmann:matrix.orgehuelsmann joined the room.09:31:59
@losh:matrix.cert.ccc.de@losh:matrix.cert.ccc.de left the room.11:32:39
15 Mar 2025
@aidetechbot:matrix.orgaidetechbot joined the room.02:51:48
@aidetechbot:matrix.orgaidetechbot set a profile picture.02:52:57
@aidetechbot:matrix.orgaidetechbot left the room.02:55:11
@aidetechbot:matrix.orgaidetechbot joined the room.02:55:29
@phaer:matrix.org@phaer:matrix.org left the room.06:29:25
@rasmus:fricloud.dk@rasmus:fricloud.dk joined the room.13:02:30
@happens.lol:matrix.orghappens.lol changed their profile picture.16:23:02
17 Mar 2025
@egrieco:matrix.orgegrieco joined the room.06:49:42
@jappie:jappie.devjasper joined the room.08:08:18
18 Mar 2025
@laauurraa:matrix.orglaauurraa

Hi! I have a possibly kind of dumb question, but when I install something like Zotero via NixOS, I can just run it, right?
But when I do the same in a flake, like this for example:

{
  description = "zotero2remarkable bridge development tools";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    flake-utils.url = "github:numtide/flake-utils";
  };

  outputs = {self, nixpkgs, flake-utils }:
    flake-utils.lib.eachDefaultSystem (system:
      let
        pkgs = nixpkgs.legacyPackages.${system};
        pythonEnv = pkgs.python312.withPackages (ps: []);
        environment = pkgs.mkShell {
          buildInputs = [
            pkgs.zotero
            pkgs.poetry
          ];
        };
      in {
        devShells.default = environment;
      }
    );
}

Then I need to install the dynamic libraries myself. I thought the entire idea of Nix was that nixpkgs knows what the dynamic libraries are for zotero and it figures it out for your system?

14:18:38

Show newer messages


Back to Room ListRoom Version: 6