Sender | Message | Time |
---|---|---|
19 Jun 2024 | ||
qu4pk4 |
| 12:24:30 |
qu4pk4 | *
| 12:24:39 |
nim65s | 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 |
nim65s | otherwise, I would just go for:
| 12:36:28 |
nim65s | or packages.old-openssl if you prefer | 12:36:44 |
qu4pk4 | Hmm, good point. | 12:40:56 |
flameopathic joined the room. | 18:03:55 | |
Zach joined the room. | 21:24:02 | |
20 Jun 2024 | ||
nyanbinary 🏳️⚧️ joined the room. | 00:09:39 | |
@vengmark2:matrix.org left the room. | 01:26:07 | |
21 Jun 2024 | ||
@linus:schreibt.jetzt left the room. | 14:06:08 | |
qu4pk4 | Thanks, this worked out for me in the end! | 14:44:13 |
qu4pk4 | 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 |
qu4pk4 | 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 |
@antifuchs:asf.computer left the room. | 14:56:29 | |
@mtxyz:the-apothecary.club left the room. | 22:51:40 | |
22 Jun 2024 | ||
Ram joined the room. | 02:07:17 | |
Ram | Would anyone mind helping me with a flake I am trying to make? | 02:07:56 |
tomberek | Sure... what's up? | 02:18:28 |
Ram | I am trying to make a flake for a simple python flask app | 02:19:17 |
Ram | { 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 |
Ram | I keep getting the following error: error: flake 'path:/home/ram/Flakes/Flask' does not provide attribute 'apps.x86_64-linux.default', 'defaultApp.x86_64-linux', 'packages.x86_64-linux.default' or 'defaultPackage.x86_64-linux' | 02:20:31 |
tomberek | Your flake defined a devShell for various systems, but no package. | 02:43:42 |
tomberek | So if you tried to "nix build" it would fail. A "nix develop" would work, because that command will default to trying the devShell.SYSTEM.default | 02:44:37 |
Ram | thats the thing it gives me the same error no matter what I run | 02:46:40 |
Ram | error: flake 'path:/home/ram/Flakes/Flask' does not provide attribute 'devShells.x86_64-linux.default', 'devShell.x86_64-linux', 'packages.x86_64-linux.default' or 'defaultPackage.x86_64-linux' Did you mean devShells? | 02:47:25 |
tomberek | devShell vs devShells | 03:42:10 |
tomberek | Also, with flake-utils you don't need to have the system in there.... in fact, you don't really need flake-utils there. | 03:44:17 |
tomberek | A mapAttrs will do almost the same thing: https://github.com/tomberek/audiveris/blob/master/flake.nix#L8 | 03:44:48 |
parasew | CDC changed their display name from parasew | CDC ☎️ 7549 to parasew | CDC. | 15:07:33 |