!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

809 Members
165 Servers

Load older messages


SenderMessageTime
30 Jun 2021
@kraem:ne.bul.aekraem joined the room.21:20:05
@industrialrobot:matrix.orgindustrialrobot joined the room.22:56:50
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone joined the room.23:06:32
2 Jul 2021
@pinage404:matrix.orgpinage404 joined the room.10:02:25
@jcie74:matrix.orgpie_ joined the room.10:31:40
@lyle:menteeth.usIslandUsurper joined the room.13:01:14
@mewp:nurupo.plmewp joined the room.13:13:37
@deeunderscore:feneas.orgDee joined the room.13:23:11
@zuckerberg:neet.spacezuckerberg joined the room.14:57:08
@tristan:nerdsin.spacetristan joined the room.15:14:53
@edrex:matrix.orgedrex joined the room.20:17:57
@Las:matrix.orgLas joined the room.21:41:09
3 Jul 2021
@mvtva:matrix.orgmvnetbiz joined the room.09:12:30
@h4rdstyl3z:matrix.orgh4rdstyl3z joined the room.21:21:28
5 Jul 2021
@zuckerberg:neet.spacezuckerberg changed their profile picture.12:40:45
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️ joined the room.13:57:11
@andi:kack.itandi- joined the room.14:21:27
@niksnut:matrix.orgniksnut joined the room.15:12:00
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels joined the room.19:21:09
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels 19:49:33
@lovesegfault:matrix.orglovesegfault joined the room.20:21:36
@treed:cybre.spacetreed joined the room.23:09:24
6 Jul 2021
@multivariante:matrix.orgmultivariante joined the room.02:40:58
@blaggacao:matrix.orgDavid Arnold (blaggacao) I created https://github.com/divnix/blank/ to semantically void inputs via the input.<name>.follows mechanism. WIth this tick, one can craft flake.lockfiles that acually represents an accurate SBOM (minusdivnix/blank` of course). 08:21:24
@blaggacao:matrix.orgDavid Arnold (blaggacao) * I created https://github.com/divnix/blank/ to semantically void inputs via the input.<name>.follows mechanism. With this trick, one can craft flake.lockfiles that actually represents an accurate SBOM (minusdivnix/blank of course). 08:21:57
@blaggacao:matrix.orgDavid Arnold (blaggacao)

Example:

      nixpkgs.url = "github:nixos/nixpkgs/release-21.05";
      nixlib.follows = "nixpkgs"; # "github:nix-community/nixpkgs.lib";
      blank.url = "github:divnix/blank";
      deploy.url = "github:serokell/deploy-rs";
      deploy.inputs.nixpkgs.follows = "nixpkgs";
      deploy.inputs.utils.follows = "utils/flake-utils";

      devshell.url = "github:numtide/devshell";
      utils.url = "github:gytis-ivaskevicius/flake-utils-plus/staging";

      nixos-generators.url = "github:nix-community/nixos-generators";
      nixos-generators.inputs.nixpkgs.follows = "blank";
      nixos-generators.inputs.nixlib.follows = "nixlib";
      nixos-generators.inputs.utils.follows = "utils/flake-utils";

08:22:58
@nurelin:matrix.orgnurelin joined the room.11:43:27
@tomberek:matrix.orgtomberek David Arnold: perhaps I’m not understanding your goal. If the resulting lock file is what you want, then okay, but something doesn’t smell right. 19:49:30
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels changed their display name from spacesbot to spacesbot - keeps a log of public NixOS channels.22:11:39
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @tomberek:matrix.org
David Arnold: perhaps I’m not understanding your goal. If the resulting lock file is what you want, then okay, but something doesn’t smell right.
I'm really just playing around, but yeah my impetus here was to craft a genuinely useful lock file that only holds (transient) dependencies that you actually depend on. I think the lock file could be pretty nice basis for a SBOM, eventually: it has all the info and useful metadata to reconstruct a DAG. This strategy, of course, cannot be right as long as fetch* are allowed outside of inputs, since they would not enter such SBOM.
23:11:42

Show newer messages


Back to Room ListRoom Version: 6