-
-
Save asheshambasta/1f34a11689d693bb7420720eae2ffe4f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man page | |
# and in the NixOS manual (accessible by running ‘nixos-help’). | |
{ config, pkgs, lib, ... }: | |
let | |
oldTarball = | |
fetchTarball "https://nixos.org/channels/nixos-18.09/nixexprs.tar.xz"; | |
myPkgs = { | |
termonad = pkgs.callPackage ./myPkgs/termonad.nix {}; | |
}; | |
in { | |
imports = [ # Include the results of the hardware scan. | |
... | |
environment.systemPackages = ( with pkgs; [ | |
... | |
myPkgs.termonad | |
... etc. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
building '/nix/store/kpyiz96a701c2izlqark36qxy7bq819x-termonad-2.0.0.0.drv'... | |
unpacking sources | |
unpacking source archive /nix/store/rcka5aqdhlnyb260d0wvbz2acxb8cvsx-source | |
source root is source | |
patching sources | |
configuring | |
no configure script, doing nothing | |
building | |
/nix/store/l9hi0ywl5rhcxd5ppprqv03adr03icq7-stdenv-linux/setup: line 1311: /nix/store/rcka5aqdhlnyb260d0wvbz2acxb8cvsx-source/default.nix: Permission denied | |
builder for '/nix/store/kpyiz96a701c2izlqark36qxy7bq819x-termonad-2.0.0.0.drv' failed with exit code 126 | |
cannot build derivation '/nix/store/dx2kdqzkf9pkv03y4dh43x82w28n4n8q-system-path.drv': 1 dependencies couldn't be built | |
cannot build derivation '/nix/store/qa9l8al82387m6j3fmn6gv3slslyvslk-nixos-system-quasar-nixos-tr-19.03.173408.bd6ba87381e.drv': 1 dependencies couldn't be built | |
error: build of '/nix/store/qa9l8al82387m6j3fmn6gv3slslyvslk-nixos-system-quasar-nixos-tr-19.03.173408.bd6ba87381e.drv' failed | |
╭─ashesh@quasar-nixos-tr /etc/nixos ‹master*› |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
pkgs.stdenv.mkDerivation rec { | |
name = "termonad-${version}"; | |
version = "2.0.0.0"; | |
src = pkgs.fetchFromGitHub { | |
owner = "cdepillabout"; | |
repo = "termonad"; | |
rev = "be7d8c622b0e0fbede743524176b4bd630d7a997"; # add missing sha? | |
sha256 = "1glg3f5dpnpk1mmdba95dmw2vwf8v236hvlvg99q4whd37vha3iy"; | |
}; | |
buildPhase = let src = pkgs.fetchFromGitHub { | |
owner = "cdepillabout"; | |
repo = "termonad"; | |
rev = "be7d8c622b0e0fbede743524176b4bd630d7a997"; # add missing sha? | |
sha256 = "1glg3f5dpnpk1mmdba95dmw2vwf8v236hvlvg99q4whd37vha3iy"; | |
}; | |
in "${src}/default.nix" ; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment