~vonfry/omnetpp-nix

3f36bbc66b52bbea4fbc63d68c846fea72695e58 — Vonfry 11 months ago 1343f5e
dev/nix: add flake
2 files changed, 28 insertions(+), 2 deletions(-)

A flake.lock
M flake.nix
A flake.lock => flake.lock +26 -0
@@ 0,0 1,26 @@
{
  "nodes": {
    "nixpkgs": {
      "locked": {
        "lastModified": 1639102062,
        "narHash": "sha256-AmyrAbeIqXtcxsC3UCw2E9i6NhWkcuj9BnzRqko4r3k=",
        "owner": "nixos",
        "repo": "nixpkgs",
        "rev": "24428bb3eabb497ed550bfe3ebf051ac201d7ef3",
        "type": "github"
      },
      "original": {
        "owner": "nixos",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "root": {
      "inputs": {
        "nixpkgs": "nixpkgs"
      }
    }
  },
  "root": "root",
  "version": 7
}

M flake.nix => flake.nix +2 -2
@@ 1,5 1,5 @@
{
  inputs.nixpkgs = "github:nixos/nixpkgs";
  inputs.nixpkgs.url = "github:nixos/nixpkgs";
  outputs = { self, nixpkgs }:
    let
      system = "x86_64-linux";


@@ 9,7 9,7 @@
        inherit (qt5) qtbase wrapQtAppsHook;
        inherit (xorg) libX11 libXrender libXtst;
        gtk = gtk3;
      } ;
      };

      nixPkgs =  rec {
        callPackage = pkgs.newScope (defaultScope // nixPkgs);