Skip to content
Snippets Groups Projects
Verified Commit feaebaa1 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: update flake.nix

parent 1b3d9c50
No related branches found
No related tags found
No related merge requests found
flake-profile-29-link
\ No newline at end of file
flake-profile-30-link
\ No newline at end of file
/nix/store/12arpillhz2dy9g6qxli8hrpa918zgdd-bob-0.6.0-env
\ No newline at end of file
result
result-*
# Makefile comes from update
Makefile.example
......
......@@ -51,9 +51,18 @@
#vendorSha256 = pkgs.lib.fakeSha256;
vendorSha256 = "sha256-XdB+u94Rqsb29jVs4miyOq1NEYaVJHWFXg6QebFJzNQ=";
excludedPackages = [ "example/server-db" "test/e2e" "tui-example" ];
excludedPackages = [ "developemt" ];
doCheck = false;
meta = with pkgs.lib; {
description = "Bob: The HTML and HTML fragment builder";
homepage = "https://gitlab.schukai.com/oss/bob";
license = licenses.mit;
maintainers = with maintainers; [ "schukai GmbH" ];
};
};
});
......@@ -64,175 +73,3 @@
};
}
#
#{
# description = "Bob: The HTML and HTML fragment builder";
#
# inputs = {
# nixpkgs.url = "nixpkgs/nixos-unstable";
# utils.url = "github:numtide/flake-utils";
# };
#
# outputs = { self, lib, nixpkgs, ... }@inputs:
#
# let
#
# lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
#
# supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
#
# forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
#
# nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
#
#
# in {
#
# bob = buildGoModule rec {
# pname = "bob";
# version = "0.3.4";
#
# src = ././application/source;
#
# vendorHash = lib.fakeSha256;
#
# meta = with lib; {
# description = "Bob: The HTML and HTML fragment builder";
# homepage = "https://gitlab.schukai.com/oss/bob";
# license = licenses.mit;
# maintainers = with maintainers; [ "schukai GmbH" ];
# };
#
# CGO_ENABLED = 0;
#
# };
# # Notice the reference to nixpkgs here.
# with import nixpkgs { system = "x86_64-linux"; };
# stdenv.mkDerivation {
# name = "bob";
# src = self;
# buildPhase = "env GOFLAGS= GOWORK=off GO111MODULE=on GOOS=$GOOS GOARCH=$GOARCH go build -o bob";
# installPhase = "mkdir -p $out/bin; install -t $out/bin bob";
# };
#
# };
#}
# outputs = { self, nixpkgs, flake-utils }:
# flake-utils.lib.eachDefaultSystem (system:
# let
#
# rootPath = ./.;
# releaseJson = builtins.fromJSON (builtins.readFile "${rootPath}/release.json");
# currentVersion = releaseJson.version;
#
# overlay = (final: prev: {
#
# bob = final.buildGoModule rec {
# name = "bob";
# src = bobSource;
# vendorHash = null;
# ldflags=''-X main.version=${currentVersion} -X main.build=${self.lastModifiedDate}'';
# };
# });
#
# pkgs = import nixpkgs {
# inherit system;
# overlays = [ overlay ];
# };
#
# in {
# packages = { bob = pkgs.bob; };
# });
#}
#
# let
# rootPath = ./.;
# releaseJson = builtins.fromJSON (builtins.readFile "${rootPath}/release.json");
# currentVersion = releaseJson.version;
#
# gomod2nix = {
# url = "github:tweag/gomod2nix";
# inputs.nixpkgs.follows = "nixpkgs";
# inputs.utils.follows = "utils";
# };
#
# systems = [ "x86_64-linux" "aarch64-linux" ];
# forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
## makePackage = system:
## let
## pkgs = import nixpkgs { inherit system; overlays = [ self.overlay ]; };
## in
## pkgs.bob;
#
# everything = nixpkgs.buildGoApplication {
# pname = "xe-x-composite";
# version = "1.0.0";
# src = ./.;
# modules = ./gomod2nix.toml;
#
# buildInputs = with nixpkgs; [ pkg-config libaom libavif ];
# };
#
# copyFile = { pname, path ? pname }:
# nixpkgs.stdenv.mkDerivation {
# inherit pname;
# inherit (everything) version;
# src = everything;
#
# installPhase = ''
# mkdir -p $out/bin
# cp $src/bin/$pname $out/bin/$path
# '';
# };
#
# in
# {
#
# devShells.default = nixpkgs.mkShell {
# buildInputs = with nixpkgs; [
# go
# gopls
# gotools
# go-tools
# gomod2nix.packages.${system}.default
# sqlite-interactive
# ];
# };
#
# overlay = final: prev: {
# bob = final.buildGoModule rec {
# name = "bob";
# src = ././application/source;
# doCheck = true;
# vendorHash = null;
# nativeBuildInputs = [ final.jq ];
# ldflags=''-X main.version=${currentVersion} -X main.build=${self.lastModifiedDate}'';
# installPhase = ''
# mkdir -p $out/bin
#
# '';
#
# };
# };
#
# defaultPackage = forAllSystems makePackage;
#
# packages = forAllSystems (system: {
# bob = makePackage system;
# });
#
# checks = {
# test = forAllSystems makePackage;
# };
# };
#}
/nix/store/njp5z2n7n9wg2jc30qaljb5lwxfk9s92-bob-0.6.0
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment