Nix Flakes | 899 Members | |
| 183 Servers |
| Sender | Message | Time |
|---|---|---|
| 11 Jun 2024 | ||
| 15:17:28 | ||
| 23:50:52 | ||
| 12 Jun 2024 | ||
| 00:31:04 | ||
| 00:32:37 | ||
| 18 Jun 2024 | ||
| 18:13:26 | ||
| 19 Jun 2024 | ||
| 00:14:50 | ||
| 12:10:17 | ||
Hi guys, I am trying to create a Flake that builds older version of OpenSSL. However, I am getting infinite recursion - I suspect it is because I use fetchurl which depends on OpenSSL (I infer this from this comment: https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/development/libraries/openssl/default.nix#L15). I can send the bare flake.nix if that would help. | 12:23:07 | |
| I am still quite new to flakes and also to overlays in particular. | 12:23:29 | |
| 12:24:30 | |
*
| 12:24:39 | |
| do you really need an overlay ? ie. do you want a whole nixpkgs where each and every instance of openssl is "updated" ?t | 12:35:35 | |
| otherwise, I would just go for:
| 12:36:28 | |
or packages.old-openssl if you prefer | 12:36:44 | |
| Hmm, good point. | 12:40:56 | |
| 18:03:55 | ||
| 21:24:02 | ||
| 20 Jun 2024 | ||
| 00:09:39 | ||
| 01:26:07 | ||
| 21 Jun 2024 | ||
| 14:06:08 | ||
| Thanks, this worked out for me in the end! | 14:44:13 | |
| I have read various threads on command line arguments for Flake builds, runs - is it still the case, that one cannot do like:
And dynamically different package/app would be built? | 14:45:56 | |
It might not work also because the version is then put into fetchUrl, which also needs the hash, but maybe that could be worked around as well somehow. | 14:46:30 | |
| 14:56:29 | ||
| 22:51:40 | ||
| 22 Jun 2024 | ||
| 02:07:17 | ||
| Would anyone mind helping me with a flake I am trying to make? | 02:07:56 | |
| Sure... what's up? | 02:18:28 | |
| I am trying to make a flake for a simple python flask app | 02:19:17 | |
| { description = "LIMS Dashboard Flake"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { nixpkgs, flake-utils, ... }: flake-utils.lib.eachSystem [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ] (system: let pkgs = nixpkgs.legacyPackages.${system}; in { devShell.${system} = pkgs.mkShell { buildInputs = with pkgs; [ python3Packages.flask ]; }; } ); } | 02:19:36 | |